Fix typo in Lib/trace.py (GH-24309)

This commit is contained in:
Yonatan Goldschmidt 2021-02-01 17:46:38 +02:00 committed by GitHub
parent 0332e569c1
commit 574aed16bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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