mirror of https://github.com/python/cpython
use new style optional args
This commit is contained in:
parent
a40bdda937
commit
9c3b7dc3c0
|
@ -565,7 +565,7 @@ rule:
|
||||||
Helper functions
|
Helper functions
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
.. function:: capwords(s[, sep])
|
.. function:: capwords(s, sep=' ')
|
||||||
|
|
||||||
Split the argument into words using :meth:`str.split`, capitalize each word
|
Split the argument into words using :meth:`str.split`, capitalize each word
|
||||||
using :meth:`str.capitalize`, and join the capitalized words using
|
using :meth:`str.capitalize`, and join the capitalized words using
|
||||||
|
|
Loading…
Reference in New Issue