Repository URL to install this package:
|
Version:
0.29.7 ▾
|
def f():
"""
>>> f()
"""
cdef int bool, int1, int2
cdef object obj1, obj2
int1 = 0
int2 = 0
obj1 = 1
obj2 = 2
bool = obj1 == obj2
assert not bool
bool = obj1 <> int2
assert bool
bool = int1 == obj2
assert not bool
bool = obj1 is obj2
assert not bool
bool = obj1 is not obj2
assert bool
def g():
"""
>>> g()
"""
cdef int bool
obj1 = 1
obj2 = []
bool = obj1 in obj2
assert not bool
bool = obj1 not in obj2
assert bool