[New-bugs-announce] [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>:


>>> class Meta(type):
...    def __getattribute__(*args):
...       print "Metaclass getattribute invoked"
...         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

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>

More information about the New-bugs-announce mailing list