Skip to content

Commit

Permalink
Fixed #8643 -- Corrected docstrings of MultiPartParser, thanks KayEss.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
gdub committed Mar 30, 2009
1 parent 86c5142 commit 1f8c4ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions django/http/multipartparser.py
Expand Up @@ -34,8 +34,6 @@ class MultiPartParser(object):
``MultiValueDict.parse()`` reads the input stream in ``chunk_size`` chunks ``MultiValueDict.parse()`` reads the input stream in ``chunk_size`` chunks
and returns a tuple of ``(MultiValueDict(POST), MultiValueDict(FILES))``. If and returns a tuple of ``(MultiValueDict(POST), MultiValueDict(FILES))``. If
``file_upload_dir`` is defined files will be streamed to temporary files in
that directory.
""" """
def __init__(self, META, input_data, upload_handlers, encoding=None): def __init__(self, META, input_data, upload_handlers, encoding=None):
""" """
Expand All @@ -44,7 +42,7 @@ def __init__(self, META, input_data, upload_handlers, encoding=None):
:META: :META:
The standard ``META`` dictionary in Django request objects. The standard ``META`` dictionary in Django request objects.
:input_data: :input_data:
The raw post data, as a bytestring. The raw post data, as a file-like object.
:upload_handler: :upload_handler:
An UploadHandler instance that performs operations on the uploaded An UploadHandler instance that performs operations on the uploaded
data. data.
Expand Down

0 comments on commit 1f8c4ce

Please sign in to comment.