summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-10-29 20:35:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-10-29 20:35:35 (GMT)
commit64106fbdaf7d82abe8e829e32614bafd76eea9b9 (patch)
tree14e91db96fcf4df8ae69961547df1855c71b7d8b
parent9a7b901b99258bea6e06172a22a70e1872ca0d76 (diff)
downloadcpython-64106fbdaf7d82abe8e829e32614bafd76eea9b9.zip
cpython-64106fbdaf7d82abe8e829e32614bafd76eea9b9.tar.gz
cpython-64106fbdaf7d82abe8e829e32614bafd76eea9b9.tar.bz2
fix some more print statements
-rw-r--r--Doc/reference/datamodel.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 7fa9864..a531350 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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()