summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-26 20:52:12 (GMT)
committerGeorg Brandl <georg@python.org>2009-09-26 20:52:12 (GMT)
commit9c3b7dc3c01b10421218d75eb5a084012877012f (patch)
tree0330aa56c2681d1269e84aa1bef83403a33697ea /Doc
parenta40bdda9377dfaa9a39a4019cecbe16e3ca9f884 (diff)
downloadcpython-9c3b7dc3c01b10421218d75eb5a084012877012f.zip
cpython-9c3b7dc3c01b10421218d75eb5a084012877012f.tar.gz
cpython-9c3b7dc3c01b10421218d75eb5a084012877012f.tar.bz2
use new style optional args
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/string.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index cc05a7d..d3789d4 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -565,7 +565,7 @@ rule:
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