Skip to content

Commit ccd79d6

Browse files
yihong0618picnixz
andauthored
Update Lib/inspect.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent a9bdc58 commit ccd79d6

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
@@ -821,7 +821,7 @@ def getfile(object):
821821
return object.__file__
822822
if getattr(object, '__spec__', None) is not None:
823823
raise TypeError(f'{object!r} is a built-in module')
824-
raise TypeError(f'Cannot get source from {object!r}')
824+
raise TypeError(f'cannot get source from {object!r}')
825825
if isclass(object):
826826
if hasattr(object, '__module__'):
827827
module = sys.modules.get(object.__module__)

0 commit comments

Comments
 (0)