From 221085de89afa861c49ff4306979dbbad949d393 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 25 Feb 2007 20:55:47 +0000 Subject: 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__. --- Lib/Bastion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/Bastion.py') diff --git a/Lib/Bastion.py b/Lib/Bastion.py index 6a5cb5c605..d83ea3eb05 100644 --- a/Lib/Bastion.py +++ b/Lib/Bastion.py @@ -158,7 +158,7 @@ def _test(): else: print "accessible" try: - print "b._get_.func_defaults =", map(type, b._get_.func_defaults), + print "b._get_.__defaults__ =", map(type, b._get_.__defaults__), except: print "inaccessible" else: -- cgit v1.2.1