[issue18626] Make "python -m inspect <name>" meaningful

Claudiu.Popa report at bugs.python.org
Mon Sep 16 19:06:22 CEST 2013


Claudiu.Popa added the comment:

Hello, here's a basic patch. Currently, the header info is printed by default, while the source can be retrieved by using --source (although I would prefer them to be switched, the source should be shown by default and the header info only when requested). It understands the entry point notation, like 'unittest:util.safe_repr'.

----------
keywords: +patch
nosy: +Claudiu.Popa
Added file: http://bugs.python.org/file31799/inspect.patch

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


More information about the Python-bugs-list mailing list