Skip to content
Snippets Groups Projects
Select Git revision
  • d975b9e0b919360bcde7560c3c36706796422b3c
  • 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

demo_menu.py

Blame
  • Forked from flow3r / flow3r firmware
    Source project has a limited visibility.
    class_store.py 182 B
    # store to class vs instance
    
    class C:
        pass
    
    c = C()
    c.x = 1
    print(c.x)
    C.x = 2
    C.y = 3
    print(c.x, c.y)
    print(C.x, C.y)
    print(C().x, C().y)
    c = C()
    print(c.x)
    c.x = 4
    print(c.x)