commit | a5855d5ace1c1426e1247272c688ccc11ae02f7c | [log] [tgz] |
---|---|---|
author | Johannes Gijsbers <jlg@dds.nl> | Sat Mar 12 16:37:11 2005 +0000 |
committer | Johannes Gijsbers <jlg@dds.nl> | Sat Mar 12 16:37:11 2005 +0000 |
tree | c841015eced138476cf55a5aaf22942cd37884b6 | |
parent | f77d0334f30e331f005090723cd1d2955959a8cd [diff] |
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 ':'. Thanks Simon Percivall!