summaryrefslogtreecommitdiffstats
path: root/Doc/libundoc.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-18 21:08:07 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-18 21:08:07 (GMT)
commit61c270345c1b105de3463f315c5736484a95b0ac (patch)
tree875b7fce0562a812760d776f1709ffb6736205dd /Doc/libundoc.tex
parent1c78cf33171581ebf9284a096ad2b1ed0a87935d (diff)
downloadcpython-61c270345c1b105de3463f315c5736484a95b0ac.zip
cpython-61c270345c1b105de3463f315c5736484a95b0ac.tar.gz
cpython-61c270345c1b105de3463f315c5736484a95b0ac.tar.bz2
added code.py; codehack.py is obsolete
Diffstat (limited to 'Doc/libundoc.tex')
-rw-r--r--Doc/libundoc.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/libundoc.tex b/Doc/libundoc.tex
index 08e62fb..55f30a9 100644
--- a/Doc/libundoc.tex
+++ b/Doc/libundoc.tex
@@ -105,8 +105,6 @@ compileall.py -- force "compilation" of all .py files in a directory
py_compile.py -- "compile" a .py file to a .pyc file
-codehack.py -- extract a function name from a code object
-
dis.py -- Disassembler for Python bytecode objects
repr.py -- Redo the `...` (representation) but with limits on most
@@ -183,6 +181,10 @@ fcntl.lockf/flock intead)
tb.py -- Print tracebacks, with a dump of local variables (use
pdb.pm() or traceback.py instead)
+codehack.py -- extract function name or line number from a function
+code object (these are now accessible as attributes: co.co_name,
+func.func_name, co.co_firstlineno)
+
\section{Extension modules}