commit | 9c3b7dc3c01b10421218d75eb5a084012877012f | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Sep 26 20:52:12 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Sep 26 20:52:12 2009 +0000 |
tree | 0330aa56c2681d1269e84aa1bef83403a33697ea | |
parent | a40bdda9377dfaa9a39a4019cecbe16e3ca9f884 [diff] [blame] |
use new style optional args
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 @@ 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