Skip to content

Commit

Permalink
Fix docstring for ListTarget
Browse files Browse the repository at this point in the history
  • Loading branch information
Israel Brewster committed Jul 22, 2024
1 parent 79b6fe7 commit 95b7662
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions streaming_form_data/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,12 @@ def value(self):


class ListTarget(BaseTarget):
"""ValueTarget stores the input in an in-memory list of bytes.
This is useful in case you'd like to have the value contained in an
in-memory string.
"""ListTarget stores the input in an in-memory list of bytes,
which is then joined into the final value and appended to an in-memory
list of byte strings when each value is finished.
This is usefull for situations where more than one value may be submitted for
the same argument.
"""

def __init__(self, _type=bytes, *args, **kwargs):
Expand Down

0 comments on commit 95b7662

Please sign in to comment.