diff options
author | Georg Brandl <georg@python.org> | 2009-09-26 20:52:12 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-09-26 20:52:12 (GMT) |
commit | 9c3b7dc3c01b10421218d75eb5a084012877012f (patch) | |
tree | 0330aa56c2681d1269e84aa1bef83403a33697ea | |
parent | a40bdda9377dfaa9a39a4019cecbe16e3ca9f884 (diff) | |
download | cpython-9c3b7dc3c01b10421218d75eb5a084012877012f.zip cpython-9c3b7dc3c01b10421218d75eb5a084012877012f.tar.gz cpython-9c3b7dc3c01b10421218d75eb5a084012877012f.tar.bz2 |
use new style optional args
-rw-r--r-- | Doc/library/string.rst | 2 |
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 |