Kaydet (Commit) 9c3b7dc3 authored tarafından Georg Brandl's avatar Georg Brandl

use new style optional args

üst a40bdda9
...@@ -565,7 +565,7 @@ rule: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment