[Python-checkins] r46274 - python/trunk/Doc/lib/libstdtypes.tex

georg.brandl python-checkins at python.org
Fri May 26 11:05:55 CEST 2006


Author: georg.brandl
Date: Fri May 26 11:05:54 2006
New Revision: 46274

Modified:
   python/trunk/Doc/lib/libstdtypes.tex
Log:
Clarify docs for str.partition().



Modified: python/trunk/Doc/lib/libstdtypes.tex
==============================================================================
--- python/trunk/Doc/lib/libstdtypes.tex	(original)
+++ python/trunk/Doc/lib/libstdtypes.tex	Fri May 26 11:05:54 2006
@@ -728,10 +728,11 @@
 \end{methoddesc}
 
 \begin{methoddesc}[string]{partition}{sep}
-Splits the string at the \var{sep}, and return a 3-tuple containing
-the part before the separator, the separator itself, and the part
-after the separator.  If the separator is not found, return a 3-tuple
-containing the string itself, followed by two empty strings.
+Splits the string at the first occurence of \var{sep}, and return
+a 3-tuple containing the part before the separator, the separator
+itself, and the part after the separator.  If the separator is not
+found, return a 3-tuple containing the string itself, followed by
+two empty strings.
 \versionadded{2.5}
 \end{methoddesc}
 


More information about the Python-checkins mailing list