mirror of https://github.com/python/cpython
Fix typo in Lib/trace.py (GH-24309)
This commit is contained in:
parent
0332e569c1
commit
574aed16bf
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue