Skip to content

Commit 497385a

Browse files
blurb-it[bot]iritkatriel
authored andcommitted
📜🤖 Added by blurb_it.
1 parent 6a68d18 commit 497385a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
:func:`inspect.findsource` raises OsError instead of IndexError when co_lineno of code object is larger than the file length (can happen if the file was edited after the module was imported).

0 commit comments

Comments
 (0)