[Python-checkins] r55484 - sandbox/trunk/2to3/fixes/fix_callable.py
neal.norwitz
python-checkins at python.org
Mon May 21 08:31:16 CEST 2007
Author: neal.norwitz
Date: Mon May 21 08:31:12 2007
New Revision: 55484
Modified:
sandbox/trunk/2to3/fixes/fix_callable.py
Log:
Add some comments about how this pattern needs to be enhanced.
Modified: sandbox/trunk/2to3/fixes/fix_callable.py
==============================================================================
--- sandbox/trunk/2to3/fixes/fix_callable.py (original)
+++ sandbox/trunk/2to3/fixes/fix_callable.py Mon May 21 08:31:12 2007
@@ -12,7 +12,9 @@
class FixCallable(basefix.BaseFix):
- # XXX(nnorwitz): how should this code be handled: callable(*args)
+ # XXX(nnorwitz): need to ignore: callable(*args)
+ # XXX(nnorwitz): or use of keywords, it could signify doing a callback,
+ # not using the builtin callable().
PATTERN = """
power< 'callable' trailer< '(' func=any ')' > >
"""
More information about the Python-checkins
mailing list