use new style optional args

This commit is contained in:
Georg Brandl 2009-09-26 20:52:12 +00:00
parent a40bdda937
commit 9c3b7dc3c0

View 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