commit | a8723a02ea109beabe2dfe1bbe18958afc5b7af9 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Wed Apr 15 00:41:29 2015 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Wed Apr 15 00:41:29 2015 +0200 |
tree | bea4acb5ca96a4fd4387461f365f477eb77d5ced | |
parent | 97100c0e3d0e2bd907b41e5583b1f9cb6d9c1a36 [diff] |
Issue #21217: inspect.getsourcelines() now tries to compute the start and end lines from the code object, fixing an issue when a lambda function is used as decorator argument. Patch by Thomas Ballinger.