summaryrefslogtreecommitdiff
path: root/smartypants.py
diff options
context:
space:
mode:
Diffstat (limited to 'smartypants.py')
-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?"'))
“Isn’t this fun?”