diff options
author | Guido van Rossum <guido@python.org> | 1996-08-19 23:00:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-19 23:00:50 (GMT) |
commit | 56b30ea664151de170666bd0fcc49206fc7ba5d4 (patch) | |
tree | ae64863c45c36534222b656781b59723213ea576 /Doc/lib | |
parent | 8823972cea8d955fb8a5511a30eb7db15f6fc467 (diff) | |
download | cpython-56b30ea664151de170666bd0fcc49206fc7ba5d4.zip cpython-56b30ea664151de170666bd0fcc49206fc7ba5d4.tar.gz cpython-56b30ea664151de170666bd0fcc49206fc7ba5d4.tar.bz2 |
Document actual behavior of splitext().
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libppath.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libppath.tex b/Doc/lib/libppath.tex index 5c6bf77..d43d3e1 100644 --- a/Doc/lib/libppath.tex +++ b/Doc/lib/libppath.tex @@ -125,8 +125,8 @@ slashes separating \var{head} from \var{tail}). \begin{funcdesc}{splitext}{p} Split the pathname \var{p} in a pair \code{(\var{root}, \var{ext})} such that \code{\var{root} + \var{ext} == \var{p}}, -the last component of \var{root} contains no periods, -and \var{ext} is empty or begins with a period. +and \var{ext} is empty or begins with a period and contains +at most one period. \end{funcdesc} \begin{funcdesc}{walk}{p\, visit\, arg} |