diff options
author | Georg Brandl <georg@python.org> | 2009-09-26 20:59:11 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-09-26 20:59:11 (GMT) |
commit | 10430ad7aace46c93939341817b97df48951d5a2 (patch) | |
tree | 88a04819a0344fe7ba98b286cba43b929076dad9 /Doc | |
parent | 9c3b7dc3c01b10421218d75eb5a084012877012f (diff) | |
download | cpython-10430ad7aace46c93939341817b97df48951d5a2.zip cpython-10430ad7aace46c93939341817b97df48951d5a2.tar.gz cpython-10430ad7aace46c93939341817b97df48951d5a2.tar.bz2 |
fix default value
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/string.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst index d3789d4..98ede20 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 |