summaryrefslogtreecommitdiff
path: root/django/utils/text.py
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2008-08-30 19:25:40 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2008-08-30 19:25:40 +0000
commitf2d7ee759a8f17c70e8a924b6da30f86feee50ae (patch)
treec8cd7bcdc873acf768258d1aab4fdf99fd423ba6 /django/utils/text.py
parentddaa3016e29e6813e2ea5b0c3b6c021a4976adba (diff)
Fixed #8710: removed a few stray tabs. Thanks, gkelly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils/text.py')
-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):