Commit ce4c60a7 authored by Dong-hee,Na's avatar Dong-hee,Na

add tuple test

parent 8095521e
......@@ -224,3 +224,11 @@ except ValueError as e:
n = float('nan')
print n in (n, n)
#recursive printing test
class C(object):
def __init__(self):
self.t = (self,)
def __repr__(self):
return repr(self.t)
print repr(C())
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment