Skip to content

Commit 426215f

Browse files
committed
fixup! fixup! fixup! Fix repl
1 parent 89191d7 commit 426215f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ def findsource(object):
969969
if module:
970970
lines = linecache.getlines(file, module.__dict__)
971971
if not lines and file.startswith('<') and hasattr(object, "__code__"):
972-
lines = linecache._getlines_from_code(object.__code__, module.__dict__)
972+
lines = linecache._getlines_from_code(object.__code__)
973973
else:
974974
lines = linecache.getlines(file)
975975
if not lines:

0 commit comments

Comments
 (0)