Skip to content

Commit

Permalink
Fix get_declared_fields docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
lafrech committed Jun 16, 2022
1 parent e48dfc5 commit b9e1511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marshmallow/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def get_declared_fields(
:param cls_fields: The fields declared on the class, including those added
by the ``include`` class Meta option.
:param inherited_fields: Inherited fields.
:param dict_class: Either `dict` or `OrderedDict`, depending on the whether
:param dict_cls: Either `dict` or `OrderedDict`, depending on whether
the user specified `ordered=True`.
"""
return dict_cls(inherited_fields + cls_fields)
Expand Down

0 comments on commit b9e1511

Please sign in to comment.