mirror of
https://github.com/django/django.git
synced 2025-09-22 10:12:43 +00:00
Fixed #20231 -- Don't use allow_lazy on smart_split
This commit is contained in:
parent
118faa0893
commit
e7b9c11c3f
2 changed files with 35 additions and 36 deletions
|
@ -356,7 +356,6 @@ def smart_split(text):
|
|||
text = force_text(text)
|
||||
for bit in smart_split_re.finditer(text):
|
||||
yield bit.group(0)
|
||||
smart_split = allow_lazy(smart_split, six.text_type)
|
||||
|
||||
def _replace_entity(match):
|
||||
text = match.group(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue