diff Lib/codehack.py @ 1746:1940892d2fe3 legacy-trunk

Merge alpha100 branch back to main trunk
author Guido van Rossum <guido@python.org>
date Mon, 01 Aug 1994 11:34:53 +0000
parents e7571a18bdef
children 91aea1af654f
line wrap: on
line diff
--- a/Lib/codehack.py	Mon Aug 01 11:18:30 1994 +0000
+++ b/Lib/codehack.py	Mon Aug 01 11:34:53 1994 +0000
@@ -7,6 +7,10 @@
 import os
 import linecache
 
+# XXX The functions getcodename() and getfuncname() are now obsolete
+# XXX as code and function objects now have a name attribute --
+# XXX co.co_name and f.func_name.
+
 # Extract the function or class name from a code object.
 # This is a bit of a hack, since a code object doesn't contain
 # the name directly.  So what do we do: