summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu-Jie Lin <livibetter@gmail.com>2013-08-28 17:21:19 +0800
committerYu-Jie Lin <livibetter@gmail.com>2013-08-28 17:21:19 +0800
commit9d448f9931b70c1e65cff23083c8fdf4c298974b (patch)
treea04b252615cd4aa6d305aa5bc14b49af39b2a563
parent318acc77d2e0c931cd3029cea97dafb3f966e7d0 (diff)
downloadsmartypants-9d448f9931b70c1e65cff23083c8fdf4c298974b.tar.gz
fix educateQuotes docstring
-rwxr-xr-xsmartypants.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/smartypants.py b/smartypants.py
index 3511b67..5688b1c 100755
--- a/smartypants.py
+++ b/smartypants.py
@@ -368,9 +368,7 @@ def smartypants(text, attr=None):
def educateQuotes(text):
"""
- Parameter: String.
-
- Returns: The string, with "educated" curly quote HTML entities.
+ Convert quotes in *text* into HTML curly quote entities.
>>> print(educateQuotes('"Isn\\'t this fun?"'))
&#8220;Isn&#8217;t this fun?&#8221;