From: Guido van Rossum Date: Mon, 19 Aug 1996 23:00:50 +0000 (+0000) Subject: Document actual behavior of splitext(). X-Git-Tag: v1.4b3~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56b30ea664151de170666bd0fcc49206fc7ba5d4;p=thirdparty%2FPython%2Fcpython.git Document actual behavior of splitext(). --- diff --git a/Doc/lib/libppath.tex b/Doc/lib/libppath.tex index 5c6bf7772c01..d43d3e13d9f2 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} diff --git a/Doc/libppath.tex b/Doc/libppath.tex index 5c6bf7772c01..d43d3e13d9f2 100644 --- a/Doc/libppath.tex +++ b/Doc/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}