[issue4231] print " should be print("
David W. Lambert
report at bugs.python.org
Wed Oct 29 20:21:37 CET 2008
New submission from David W. Lambert <lambertdw at corning.com>:
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)))
----------
messages: 75326
nosy: LambertDW
severity: normal
status: open
title: print " should be print("
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4231>
_______________________________________
More information about the Python-bugs-list
mailing list