mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Correct description of splitext().
This commit is contained in:
parent
0f6a3bf490
commit
422869a75c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def split(p):
|
||||||
|
|
||||||
|
|
||||||
# Split a path in root and extension.
|
# 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.
|
# pathname component; the root is everything before that.
|
||||||
# It is always true that root + ext == p.
|
# It is always true that root + ext == p.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue