summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorYonatan Goldschmidt <yon.goldschmidt@gmail.com>2021-02-01 15:46:38 (GMT)
committerGitHub <noreply@github.com>2021-02-01 15:46:38 (GMT)
commit574aed16bfab1c5966af36ed6345d16ef119ac64 (patch)
treeb0d813228b1aa45a459741872af7c401468e5985 /Lib
parent0332e569c12d3dc97171546c6dc10e42c27de34b (diff)
downloadcpython-574aed16bfab1c5966af36ed6345d16ef119ac64.zip
cpython-574aed16bfab1c5966af36ed6345d16ef119ac64.tar.gz
cpython-574aed16bfab1c5966af36ed6345d16ef119ac64.tar.bz2
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 c505d8b..2cf3643 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)