]> granicus.if.org Git - python/commitdiff
use new style optional args
authorGeorg Brandl <georg@python.org>
Sat, 26 Sep 2009 20:52:12 +0000 (20:52 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 26 Sep 2009 20:52:12 +0000 (20:52 +0000)
Doc/library/string.rst

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