diff options
| author | django-bot <ops@djangoproject.com> | 2025-07-22 20:41:41 -0700 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 20:17:55 -0300 |
| commit | 69a93a88edb56ba47f624dac7a21aacc47ea474f (patch) | |
| tree | f57507a4435d032493cae40e06ecb254790b67b2 /django/http/multipartparser.py | |
| parent | 55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff) | |
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
Diffstat (limited to 'django/http/multipartparser.py')
| -rw-r--r-- | django/http/multipartparser.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/django/http/multipartparser.py b/django/http/multipartparser.py index 4ee8401eb6..531f9a0468 100644 --- a/django/http/multipartparser.py +++ b/django/http/multipartparser.py @@ -168,7 +168,8 @@ class MultiPartParser: # Instantiate the parser and stream: stream = LazyStream(ChunkIter(self._input_data, self._chunk_size)) - # Whether or not to signal a file-completion at the beginning of the loop. + # Whether or not to signal a file-completion at the beginning of the + # loop. old_field_name = None counters = [0] * len(handlers) @@ -418,8 +419,8 @@ class LazyStream: The LazyStream wrapper allows one to get and "unget" bytes from a stream. Given a producer object (an iterator that yields bytestrings), the - LazyStream object will support iteration, reading, and keeping a "look-back" - variable in case you need to "unget" some bytes. + LazyStream object will support iteration, reading, and keeping a + "look-back" variable in case you need to "unget" some bytes. """ def __init__(self, producer, length=None): |
