fix some more print statements

This commit is contained in:
Benjamin Peterson 2008-10-29 20:35:35 +00:00
parent 9a7b901b99
commit 64106fbdaf

View file

@ -1918,14 +1918,14 @@ correctness, implicit special method lookup may also bypass the
>>> class Meta(type):
... def __getattribute__(*args):
... print "Metaclass getattribute invoked"
... print("Metaclass getattribute invoked")
... return type.__getattribute__(*args)
...
>>> class C(object, metaclass=Meta):
... def __len__(self):
... return 10
... def __getattribute__(*args):
... print "Class getattribute invoked"
... print("Class getattribute invoked")
... return object.__getattribute__(*args)
...
>>> c = C()