Merge branch '2.1.x'

This commit is contained in:
David Lord 2022-07-13 13:58:07 -07:00
commit 48fe96588c
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
9 changed files with 35 additions and 26 deletions

View file

@ -20,6 +20,7 @@ class JSONEncoder(_json.JSONEncoder):
- :class:`datetime.datetime` and :class:`datetime.date` are
serialized to :rfc:`822` strings. This is the same as the HTTP
date format.
- :class:`decimal.Decimal` is serialized to a string.
- :class:`uuid.UUID` is serialized to a string.
- :class:`dataclasses.dataclass` is passed to
:func:`dataclasses.asdict`.