We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13f8c0d commit 2b31614Copy full SHA for 2b31614
Lib/inspect.py
@@ -822,7 +822,7 @@ def getfile(object):
822
if object.__spec__ is not None:
823
raise TypeError('{!r} is a built-in module'.format(object))
824
else:
825
- raise TypeError('Custom module: {!r} is can not get source'
+ raise TypeError('Custom module: {!r} cannot get source'
826
.format(object))
827
if isclass(object):
828
if hasattr(object, '__module__'):
0 commit comments