mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
Correct description of splitext().
This commit is contained in:
parent
0f6a3bf490
commit
422869a75c
@ -53,7 +53,7 @@ def split(p):
|
||||
|
||||
|
||||
# Split a path in root and extension.
|
||||
# The extension is everything starting at the first dot in the last
|
||||
# The extension is everything starting at the last dot in the last
|
||||
# pathname component; the root is everything before that.
|
||||
# It is always true that root + ext == p.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user