diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-04-11 13:15:30 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-04-11 13:30:12 -0600 |
commit | d083c2992c170972cc4623d5d4e00ade90cf344b (patch) | |
tree | 4f901459e3aca62e5bdc07ab8219d2cc1d58cf46 /tools | |
parent | b7053e8d065f820a6c2b3db7e8df3feaf5adbd71 (diff) | |
download | numpy-d083c2992c170972cc4623d5d4e00ade90cf344b.tar.gz |
2to3: Skip `funcattrs` fixer.
In Python 3 the func.func_name attribute is replaced by the
func.__name__ attribute. The only file affected by this is
doc/sphinxext/numpydoc/phantom_import.py, and there its use
is already version dependent.
Closes #3054.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/py3tool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py index ce0d1975c..0dbc47112 100755 --- a/tools/py3tool.py +++ b/tools/py3tool.py @@ -54,7 +54,7 @@ FIXES_TO_SKIP = [ 'execfile', 'exitfunc', 'filter', -# 'funcattrs', + 'funcattrs', 'future', 'getcwdu', 'has_key', |