[Python-checkins] r75078 - python/branches/py3k/Doc/library/string.rst

georg.brandl python-checkins at python.org
Sat Sep 26 22:52:12 CEST 2009


Author: georg.brandl
Date: Sat Sep 26 22:52:12 2009
New Revision: 75078
Log:
use new style optional args
Modified:
 python/branches/py3k/Doc/library/string.rst
Modified: python/branches/py3k/Doc/library/string.rst
==============================================================================
--- python/branches/py3k/Doc/library/string.rst	(original)
+++ python/branches/py3k/Doc/library/string.rst	Sat Sep 26 22:52:12 2009
@@ -565,7 +565,7 @@
 Helper functions
 ----------------
 
-.. function:: capwords(s[, sep])
+.. function:: capwords(s, sep=' ')
 
 Split the argument into words using :meth:`str.split`, capitalize each word
 using :meth:`str.capitalize`, and join the capitalized words using


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /