diff options
author | Guido van Rossum <guido@python.org> | 1998-02-11 05:53:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-02-11 05:53:02 (GMT) |
commit | e32bf6ead2ae610f5b318c4fbd1c926241fbc3b1 (patch) | |
tree | 251ce4cbcd01952ff73c88cf7125cd6b12d80f29 /Doc/texinputs | |
parent | fccb68ef2a73246e141a59436fad5cfc1369604a (diff) | |
download | cpython-e32bf6ead2ae610f5b318c4fbd1c926241fbc3b1.zip cpython-e32bf6ead2ae610f5b318c4fbd1c926241fbc3b1.tar.gz cpython-e32bf6ead2ae610f5b318c4fbd1c926241fbc3b1.tar.bz2 |
Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to
pass it the true file. This is used to set __file__ properly, instead
of believing what the code object carries with it. (If the pointer
is NULL, the code object's co_filename is still used.)
Diffstat (limited to 'Doc/texinputs')
0 files changed, 0 insertions, 0 deletions