Fixed #20231 -- Don't use allow_lazy on smart_split

This commit is contained in:
Baptiste Mispelon 2013-04-10 10:43:19 +02:00 committed by Claude Paroz
parent 118faa0893
commit e7b9c11c3f
2 changed files with 35 additions and 36 deletions

View file

@ -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)