]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-29862: Fix grammar in importlib.reload() exception (GH-809)
authorMandeep Bhutani <mandeep@users.noreply.github.com>
Sat, 25 Mar 2017 04:51:21 +0000 (23:51 -0500)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 25 Mar 2017 04:51:21 +0000 (21:51 -0700)
Lib/importlib/__init__.py

index f87e20e4045dc30ecd02ec51b880cdf2acacc122..86febffb6d25f14fbd419a26b9416d6cdeed6bf1 100644 (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 module")
     try:
         name = module.__spec__.name
     except AttributeError: