Skip to content
Snippets Groups Projects
Select Git revision
  • 6947a7f6a975dd9ebf1af6ea7ddf21c364339078
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

unix_index.rst

Blame
  • is-isnot.py NaN GiB
    print(1 is 1)
    print(1 is 2)
    print(1 is not 1)
    print(1 is not 2)
    
    
    print([1, 2] is [1, 2])
    a = [1, 2]
    b = a
    print(b is a)
    
    # TODO: strings require special "is" handling, postponed
    # until qstr refactor.
    #print("a" is "a")