summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorYu-Jie Lin <livibetter@gmail.com>2013-08-18 13:43:25 +0800
committerYu-Jie Lin <livibetter@gmail.com>2013-08-18 13:43:25 +0800
commit2df89c8ca06e662e20547d201ef438f9ac86fff8 (patch)
treebb90fa685be0d5d87c1faa13bb28d2ba9414e1dc /README.rst
parentd281de63c7f21b8ae962b626f30d28410b957da2 (diff)
downloadsmartypants-2df89c8ca06e662e20547d201ef438f9ac86fff8.tar.gz
deprecate function name smartyPants(), now smartypants()
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index e819060..cb5cc23 100644
--- a/README.rst
+++ b/README.rst
@@ -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``: