mirror of
https://github.com/python/cpython.git
synced 2024-12-03 14:55:56 +08:00
use new style optional args
This commit is contained in:
parent
a40bdda937
commit
9c3b7dc3c0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user