Joe Amenta <ament...@msu.edu> added the comment: Yes, the idea was that it doesn't seem outlandish for someone to do: def file(something): do_stuff()
You can use lib2to3.fixer_util.is_probably_builtin for this... modified the patch and attached. ---------- Added file: http://bugs.python.org/file16490/issue7162-3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7162> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com