commit | 09aaa88328a5083469b2682230c7f3c62942afab | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Sat Feb 23 15:01:06 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Sat Feb 23 15:01:06 2008 +0000 |
tree | 5574f715c55f9287b78af484989160d11821fef3 | |
parent | 90c3d9b99563abebbd0737c711be1c9313c1547b [diff] [blame] |
Patch from Georg Brandl: Fix co_lineno of decorated function and class objects. If you see an error in test_inspect please delete all pyc files.
diff --git a/Misc/NEWS b/Misc/NEWS index 1a3ae21..3d9f418 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -363,6 +363,8 @@ Library ------- +- inspect.getsource() includes the decorators again. + - Issue #1916. Added isgenerator() and isgeneratorfunction() to inspect.py. - #1224: Fixed bad url parsing when path begins with double slash.