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

objnamedtuple.c

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")