From 56b30ea664151de170666bd0fcc49206fc7ba5d4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 19 Aug 1996 23:00:50 +0000 Subject: [PATCH] Document actual behavior of splitext(). --- Doc/lib/libppath.tex | 4 ++-- Doc/libppath.tex | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/lib/libppath.tex b/Doc/lib/libppath.tex index 5c6bf7772c0..d43d3e13d9f 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 5c6bf7772c0..d43d3e13d9f 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}