summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/string.rst2
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