From 9c3b7dc3c01b10421218d75eb5a084012877012f Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 26 Sep 2009 20:52:12 +0000 Subject: [PATCH] use new style optional args --- Doc/library/string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/string.rst b/Doc/library/string.rst index cc05a7df1cc..d3789d40f2c 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=' ') Split the argument into words using :meth:`str.split`, capitalize each word using :meth:`str.capitalize`, and join the capitalized words using