Kaydet (Commit) 9f0aa484 authored tarafından Mandeep Bhutani's avatar Mandeep Bhutani Kaydeden (comit) Mariatta

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

üst 29540cdf
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment