From: Georg Brandl Date: Sat, 26 Sep 2009 20:59:11 +0000 (+0000) Subject: fix default value X-Git-Tag: v3.2a1~2487 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10430ad7aace46c93939341817b97df48951d5a2;p=python fix default value --- diff --git a/Doc/library/string.rst b/Doc/library/string.rst index d3789d40f2..98ede20f75 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=None) Split the argument into words using :meth:`str.split`, capitalize each word using :meth:`str.capitalize`, and join the capitalized words using