summaryrefslogtreecommitdiff
path: root/django/utils
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils')
-rw-r--r--django/utils/text.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/django/utils/text.py b/django/utils/text.py
index 3686a454a8..1548cfa77e 100644
--- a/django/utils/text.py
+++ b/django/utils/text.py
@@ -207,10 +207,10 @@ def smart_split(text):
>>> list(smart_split(r'This is "a person\'s" test.'))
[u'This', u'is', u'"a person\\\'s"', u'test.']
- >>> list(smart_split(r"Another 'person\'s' test."))
- [u'Another', u"'person's'", u'test.']
- >>> list(smart_split(r'A "\"funky\" style" test.'))
- [u'A', u'""funky" style"', u'test.']
+ >>> list(smart_split(r"Another 'person\'s' test."))
+ [u'Another', u"'person's'", u'test.']
+ >>> list(smart_split(r'A "\"funky\" style" test.'))
+ [u'A', u'""funky" style"', u'test.']
"""
text = force_unicode(text)
for bit in smart_split_re.finditer(text):