From: Georg Brandl Date: Sat, 26 Sep 2009 20:52:12 +0000 (+0000) Subject: use new style optional args X-Git-Tag: v3.2a1~2488 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c3b7dc3c01b10421218d75eb5a084012877012f;p=python use new style optional args --- diff --git a/Doc/library/string.rst b/Doc/library/string.rst index cc05a7df1c..d3789d40f2 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