diff options
| author | Georg Brandl <georg@python.org> | 2009-09-26 20:59:11 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-09-26 20:59:11 +0000 |
| commit | 10430ad7aace46c93939341817b97df48951d5a2 (patch) | |
| tree | 88a04819a0344fe7ba98b286cba43b929076dad9 /Doc | |
| parent | 9c3b7dc3c01b10421218d75eb5a084012877012f (diff) | |
| download | cpython-git-10430ad7aace46c93939341817b97df48951d5a2.tar.gz | |
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 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 |
