mirror of
https://github.com/django/django.git
synced 2025-09-22 10:12:43 +00:00
Fixed #21298 -- Fixed E301 pep8 warnings
This commit is contained in:
parent
317040a73b
commit
c3aa2948c6
83 changed files with 180 additions and 2 deletions
|
@ -32,6 +32,7 @@ def wrap(text, width):
|
|||
the text. Expects that existing line breaks are posix newlines.
|
||||
"""
|
||||
text = force_text(text)
|
||||
|
||||
def _generator():
|
||||
it = iter(text.split(' '))
|
||||
word = next(it)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue