Fix missing import in dataclass code snippet (GH-29214)

field was not imported. It has been added now.
This commit is contained in:
Leo 2022-02-14 20:01:53 +00:00 committed by GitHub
parent 6b9f27dd0b
commit ad4e8d2b87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1019,7 +1019,7 @@ You can specify keyword-only on a per-field basis:
.. code-block:: python
from dataclasses import dataclass
from dataclasses import dataclass, field
@dataclass
class Birthday: