Definition of "is" is incorrect
cclauss opened this issue · comments
See: https://docs.python.org/3.6/reference/expressions.html#is
x is y
# Can be rewritten as
id(x) == id(y)
Aims to teach Python3 by example
cclauss opened this issue · comments
See: https://docs.python.org/3.6/reference/expressions.html#is
x is y
# Can be rewritten as
id(x) == id(y)