aboutsummaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorYonatan Goldschmidt <yon.goldschmidt@gmail.com>2021-02-01 17:46:38 +0200
committerGitHub <noreply@github.com>2021-02-01 21:16:38 +0530
commit574aed16bfab1c5966af36ed6345d16ef119ac64 (patch)
treeb0d813228b1aa45a459741872af7c401468e5985 /Lib
parentbpo-42990: Further refactoring of PyEval_ functions. (GH-24368) (diff)
downloadcpython-574aed16bfab1c5966af36ed6345d16ef119ac64.tar.gz
cpython-574aed16bfab1c5966af36ed6345d16ef119ac64.tar.bz2
cpython-574aed16bfab1c5966af36ed6345d16ef119ac64.zip
Fix typo in Lib/trace.py (GH-24309)
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/trace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/trace.py b/Lib/trace.py
index c505d8bc72a..2cf3643878d 100755
--- a/Lib/trace.py
+++ b/Lib/trace.py
@@ -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)