Skip to content

Commit 2b31614

Browse files
Update Lib/inspect.py
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 13f8c0d commit 2b31614

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
@@ -822,7 +822,7 @@ def getfile(object):
822822
if object.__spec__ is not None:
823823
raise TypeError('{!r} is a built-in module'.format(object))
824824
else:
825-
raise TypeError('Custom module: {!r} is can not get source'
825+
raise TypeError('Custom module: {!r} cannot get source'
826826
.format(object))
827827
if isclass(object):
828828
if hasattr(object, '__module__'):

0 commit comments

Comments
 (0)