From: Benjamin Peterson Date: Wed, 29 Oct 2008 20:35:35 +0000 (+0000) Subject: fix some more print statements X-Git-Tag: v3.0rc2~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64106fbdaf7d82abe8e829e32614bafd76eea9b9;p=thirdparty%2FPython%2Fcpython.git fix some more print statements --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 7fa9864f246d..a531350874a6 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()