summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorJohannes Gijsbers <jlg@dds.nl>2005-03-12 16:38:39 (GMT)
committerJohannes Gijsbers <jlg@dds.nl>2005-03-12 16:38:39 (GMT)
commitd86254bc2514ec4fb9e62126c02ef2f6458db67d (patch)
treeec60970fbf215dd77c72b935d52bdbefb6848a9f /Python/pythonrun.c
parente3fa0611a99d101ffa459221fa3a44f4110834b5 (diff)
downloadcpython-d86254bc2514ec4fb9e62126c02ef2f6458db67d.zip
cpython-d86254bc2514ec4fb9e62126c02ef2f6458db67d.tar.gz
cpython-d86254bc2514ec4fb9e62126c02ef2f6458db67d.tar.bz2
Backport of patch #1159931/bug #1143895: inspect.getsource failed when
functions, etc., had comments after the colon, and some other cases. This patch take a simpler approach that doesn't rely on looking for a ':'. Test cases are not backported, as test_inspect.py has been rewritten using unittest on the trunk. Thanks Simon Percivall!
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions