diff options
author | Yu-Jie Lin <livibetter@gmail.com> | 2013-08-18 13:43:25 +0800 |
---|---|---|
committer | Yu-Jie Lin <livibetter@gmail.com> | 2013-08-18 13:43:25 +0800 |
commit | 2df89c8ca06e662e20547d201ef438f9ac86fff8 (patch) | |
tree | bb90fa685be0d5d87c1faa13bb28d2ba9414e1dc /README.rst | |
parent | d281de63c7f21b8ae962b626f30d28410b957da2 (diff) | |
download | smartypants-2df89c8ca06e662e20547d201ef438f9ac86fff8.tar.gz |
deprecate function name smartyPants(), now smartypants()
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -48,7 +48,7 @@ Using as module: import smartypants text = '"SmartyPants" is smart, so is <code>smartypants.py</code> -- a Python port' - print(smartypants.smartyPants(text)) + print(smartypants.smartypants(text)) smartypants.py ships with a command-line script called ``smartypants``, it can be invoked like: @@ -165,10 +165,10 @@ To use these attributes, simply using bitwise or: from smartypants import Attr attrs = Attr.q | Attr.d - smartypants.smartyPants(text, attrs) + smartypants.smartypants(text, attrs) attrs = Attr.set1 | Attr.w - smartypants.smartyPants(text, attrs) + smartypants.smartypants(text, attrs) When using in command-line, use only the attribute names and drop ``set``: |