diff options
| author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2014-03-02 15:25:53 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-03 07:38:09 -0500 |
| commit | 0d912258921a442c48d5787228db2db5af7e8fa5 (patch) | |
| tree | f6826425de5bca2498c46e5242b870282a34eda2 /django/http/multipartparser.py | |
| parent | 6acaa5238668593d6d854b28dbfa65e95796585c (diff) | |
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
Diffstat (limited to 'django/http/multipartparser.py')
| -rw-r--r-- | django/http/multipartparser.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/http/multipartparser.py b/django/http/multipartparser.py index eecf6150d4..6d03f877a1 100644 --- a/django/http/multipartparser.py +++ b/django/http/multipartparser.py @@ -253,7 +253,7 @@ class MultiPartParser(object): def handle_file_complete(self, old_field_name, counters): """ - Handle all the signalling that takes place when a file is complete. + Handle all the signaling that takes place when a file is complete. """ for i, handler in enumerate(self._upload_handlers): file_obj = handler.file_complete(counters[i]) @@ -484,7 +484,7 @@ class BoundaryIter(six.Iterator): self._done = True return chunk[:end] else: - # make sure we dont treat a partial boundary (and + # make sure we don't treat a partial boundary (and # its separators) as data if not chunk[:-rollback]: # and len(chunk) >= (len(self._boundary) + 6): # There's nothing left, we should just return and mark as done. @@ -498,7 +498,7 @@ class BoundaryIter(six.Iterator): """ Finds a multipart boundary in data. - Should no boundry exist in the data None is returned instead. Otherwise + Should no boundary exist in the data None is returned instead. Otherwise a tuple containing the indices of the following are returned: * the end of current encapsulation |
