1# cython: optimize.use_switch=False
2# cython: linetrace=True
3
4cdef extern from *:
5 enum:
6 ONE "1"
7 ONE_AGAIN "1+0"
8
9def is_not_one(int i):
10 """
11 >>> is_not_one(1)
12 False
13 >>> is_not_one(2)
14 True
15 """
16 return i != ONE and i != ONE_AGAIN
17