summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-11 13:15:30 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-11 13:30:12 -0600
commitd083c2992c170972cc4623d5d4e00ade90cf344b (patch)
tree4f901459e3aca62e5bdc07ab8219d2cc1d58cf46 /tools
parentb7053e8d065f820a6c2b3db7e8df3feaf5adbd71 (diff)
downloadnumpy-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-xtools/py3tool.py2
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',