classification
Title: print " should be print("
Type: Stage:
Components: Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: LambertDW, benjamin.peterson
Priority: normal Keywords:

Created on 2008-10-29 19:21 by LambertDW, last changed 2008-10-29 20:35 by benjamin.peterson. This issue is now closed.

Messages (2)
msg75326 - (view) Author: David W. Lambert (LambertDW) Date: 2008-10-29 19:21
http://docs.python.org/dev/3.0/reference/datamodel.html


>>> class Meta(type):
...    def __getattribute__(*args):
...       print "Metaclass getattribute invoked"
xxx
...         print "Class getattribute invoked"

perhaps there's a way to search all of the code examples in the new
documents to fix most of these occurrences instead of finding them
piecemeal?

print(re.compile("print *[^(]").search(code_examples(all_dev_docs)))
msg75330 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-10-29 20:35
Fixed in r67043.
History
Date User Action Args
2008-10-29 20:35:44benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg75330
nosy: + benjamin.peterson
2008-10-29 19:21:36LambertDWcreate