Skip to content

Commit 5727fe1

Browse files
author
desert
committed
Fix typos in docs
1 parent ab41966 commit 5727fe1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Any :class:`marshmallow.Schema.Meta` value is accepted in the meta dict. For exa
123123
class A:
124124
x: int
125125

126-
schema = desert.schema_class(A, meta={"unknwown": marshmallow.EXCLUDE})()
126+
schema = desert.schema_class(A, meta={"unknown": marshmallow.EXCLUDE})()
127127
print(schema.load({"x": 1, "y": 2}))
128128

129129
.. testoutput::

src/desert/_make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def field_for_schema(
192192
... red = 1
193193
>>> field_for_schema(Color).__class__
194194
<class 'marshmallow_enum.EnumField'>
195-
>>> field_for_schema(Any).__class__
195+
>>> field_for_schema(t.Any).__class__
196196
<class 'marshmallow.fields.Raw'>
197197
"""
198198

0 commit comments

Comments
 (0)