bpo-29862: Fix grammar in importlib.reload() exception (GH-809)

This commit is contained in:
Mandeep Bhutani 2017-03-24 23:51:21 -05:00 committed by Mariatta
parent 29540cdf6c
commit 9f0aa4843f
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ def reload(module):
"""
if not module or not isinstance(module, types.ModuleType):
raise TypeError("reload() argument must be module")
raise TypeError("reload() argument must be a module")
try:
name = module.__spec__.name
except AttributeError: