]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in Lib/trace.py (GH-24309)
authorYonatan Goldschmidt <yon.goldschmidt@gmail.com>
Mon, 1 Feb 2021 15:46:38 +0000 (17:46 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Feb 2021 15:46:38 +0000 (21:16 +0530)
Lib/trace.py

index c505d8bc72a98ca6fe7818392f70f29f89da8492..2cf3643878d4b8d57aba74d7fffa49a12f1ffc38 100755 (executable)
@@ -116,7 +116,7 @@ class _Ignore:
         return 0
 
 def _modname(path):
-    """Return a plausible module name for the patch."""
+    """Return a plausible module name for the path."""
 
     base = os.path.basename(path)
     filename, ext = os.path.splitext(base)