]> granicus.if.org Git - python/commitdiff
fix default value
authorGeorg Brandl <georg@python.org>
Sat, 26 Sep 2009 20:59:11 +0000 (20:59 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 26 Sep 2009 20:59:11 +0000 (20:59 +0000)
Doc/library/string.rst

index d3789d40f2c45879af876f63ce22529b46d27592..98ede20f75e05adcf8c8d3e13c0b6220b6431daf 100644 (file)
@@ -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