mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge alpha100 branch back to main trunk
This commit is contained in:
parent
2979b01ff8
commit
b6775db241
176 changed files with 5302 additions and 3668 deletions
|
@ -7,6 +7,10 @@ import string
|
|||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue