[issue12317] inspect.getabsfile() is not documented

Terry J. Reedy report at bugs.python.org
Sat Jun 18 00:58:28 CEST 2011


New submission from Terry J. Reedy <tjreedy at udel.edu>:

>>> help(inspect.getabsfile) could be copied

getabsfile(object, _filename=None)
    Return an absolute path to the source or compiled file for an object.
    
    The idea is for each object to have a unique origin, so this routine
    normalizes the result as much as possible.

----------
components: +Documentation
nosy: +terry.reedy
stage:  -> needs patch
versions:  -Python 2.6, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12317>
_______________________________________


More information about the Python-bugs-list mailing list