Skip to content
Snippets Groups Projects
Select Git revision
  • fd9eab30990e2a5f2ffcb96775d3f2ee86d27183
  • main default protected
  • phhw
  • captouch-threshold
  • t
  • dos
  • test2
  • test
  • slewtest
  • simtest
  • view-think
  • vm-pending
  • media-buf
  • scope
  • passthrough
  • wave
  • vsync
  • dos-main-patch-50543
  • json-error
  • rahix/big-flow3r
  • pippin/media_framework
  • v1.3.0
  • v1.2.0
  • v1.2.0+rc1
  • v1.1.1
  • v1.1.0
  • v1.1.0+rc1
  • v1.0.0
  • v1.0.0+rc6
  • v1.0.0+rc5
  • v1.0.0+rc4
  • v1.0.0+rc3
  • v1.0.0+rc2
  • v1.0.0+rc1
34 results

_helpers.py

Blame
  • Forked from flow3r / flow3r firmware
    Source project has a limited visibility.
    set_intersection.py 192 B
    def report(s):
        l = list(s)
        l.sort()
        print(l)
    
    s = {1, 2, 3, 4}
    report(s)
    report(s.intersection({1, 3}))
    report(s.intersection([3, 4]))
    
    print(s.intersection_update([1]))
    report(s)