Skip to content

Commit 04debbb

Browse files
author
desert
committed
Improve the documentation for Union
1 parent c7918f1 commit 04debbb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/usage.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ for any of these types:
2727
* :class:`uuid.UUID`
2828
* :class:`decimal.Decimal`
2929
* :class:`enum.Enum` (if you have `marshmallow_enum`_ installed.)
30-
31-
If you have :mod:`marshmallow_union` installed, then :class:`typing.Union` is handled by
32-
trying to deserialize into each of the unioned types until one succeeds.
33-
30+
* :class:`typing.Union` (if you have `marshmallow_union` installed, tries each type until one succeeds.)
3431

3532

3633
There are two syntaxes for

0 commit comments

Comments
 (0)