[Doc-SIG] Comments on the PEP 257 example

David Goodger dgoodger@bigfoot.com
Mon, 06 Aug 2001 21:57:18 -0400

on 2001-08-06 6:01 PM, Garth T Kidd (garth@deadlybloodyserious.com) wrote:
>> - real: the real part (default 0.0)
>> - imag: the imaginary part (default 0.0)
> Complete side-track: inspect.getargspec() will hand you the defaults.

Unfortunately, we can't rely on inspect.getargspec(), as it only applies to
"live" objects, such as imported modules. The DPS is *not* going to import
modules (unless, perhaps, it's asked very nicely and explicitly first).

David Goodger    dgoodger@bigfoot.com    Open-source projects:
 - Python Docstring Processing System: http://docstring.sourceforge.net
 - reStructuredText: http://structuredtext.sourceforge.net
 - The Go Tools Project: http://gotools.sourceforge.net