mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
use new style optional args
This commit is contained in:
parent
a40bdda937
commit
9c3b7dc3c0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue