Skip to content

Commit

Permalink
Update wording
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonhart authored and hramezani committed Sep 8, 2023
1 parent 8aca911 commit 9ce0fe4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/usage/dataclasses.md
Expand Up @@ -140,7 +140,8 @@ class MyDataclass2:
!!! note
Pydantic dataclasses support [`extra`](model_config.md#extra-attributes) configuration to `ignore`, `forbid`, or
`allow` extra fields passed to the initializer. However, some default behavior of stdlib dataclasses may prevail.
For example, extra fields are omitted when `print`ing a Pydantic dataclass with allowed extra fields.
For example, any extra fields present on a Pydantic dataclass using `extra='allow'` are omitted when the dataclass
is `print`ed.

## Nested dataclasses

Expand Down

0 comments on commit 9ce0fe4

Please sign in to comment.