diff Lib/test/test_support.py @ 40910:eaaee785eb86

Change all the function attributes from func_* -> __*__. This gets rid of func_name, func_dict and func_doc as they already exist as __name__, __dict__ and __doc__.
author Neal Norwitz <nnorwitz@gmail.com>
date Sun, 25 Feb 2007 20:55:47 +0000
parents f340cb045bf9
children 06145fbc7ab9
line wrap: on
line diff
--- a/Lib/test/test_support.py	Sun Feb 25 20:39:11 2007 +0000
+++ b/Lib/test/test_support.py	Sun Feb 25 20:55:47 2007 +0000
@@ -341,7 +341,7 @@
             finally:
                 if locale and orig_locale:
                     locale.setlocale(category, orig_locale)
-        inner.func_name = func.func_name
+        inner.__name__ = func.__name__
         inner.__doc__ = func.__doc__
         return inner
     return decorator