Skip to content

Commit ba8058a

Browse files
committed
Minor docstring fix
1 parent c034a78 commit ba8058a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/marshmallow/validate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,7 @@ def options(
623623
:param valuegetter: Can be a callable or a string. In the former case, it must
624624
be a one-argument callable which returns the value of a
625625
choice. In the latter case, the string specifies the name
626-
of an attribute of the choice objects. Defaults to `str()`
627-
or `str()`.
626+
of an attribute of the choice objects. Defaults to `str()`.
628627
"""
629628
valuegetter = valuegetter if callable(valuegetter) else attrgetter(valuegetter)
630629
pairs = zip_longest(self.choices, self.labels, fillvalue="")

0 commit comments

Comments
 (0)