summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-29 16:17:01 +0000
committerGuido van Rossum <guido@python.org>1998-04-29 16:17:01 +0000
commit9d1b7ae65b103525a2f28ebcb43d2c580a04d2d4 (patch)
treef81f82c1a3b2734a1454b0a0b18e673299a9389d /Python/errors.c
parent06245ac2faf57bcd50b8a26567abc2ab458ba4fd (diff)
downloadcpython-git-9d1b7ae65b103525a2f28ebcb43d2c580a04d2d4.tar.gz
Add a new method of interpreter objects, interpaddr(). This returns
the address of the Tcl interpreter object, as an integer. Not very useful for the Python programmer, but this can be called by another C extension that needs to make calls into the Tcl/Tk C API and needs to get the address of the Tcl interpreter object. A simple cast of the return value to (Tcl_Interp *) will do the trick now.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions