fixed documentation typo (#4855)

This commit is contained in:
Muhammad Abdur Rakib
2022-12-20 18:53:01 +06:00
committed by GitHub
parent 9588c9e22d
commit f2b129a8bc
+1 -1
View File
@@ -127,7 +127,7 @@ with the following means (see [#4093](https://github.com/pydantic/pydantic/pull/
or after (value `'after_validation'`) parsing and validation when they are [converted](dataclasses.md#stdlib-dataclasses-and-_pydantic_-dataclasses).
**`allow_inf_nan`**
: whether to allows infinity (`+inf` an `-inf`) and NaN values to float fields, defaults to `True`,
: whether to allow infinity (`+inf` an `-inf`) and NaN values to float fields, defaults to `True`,
set to `False` for compatibility with `JSON`,
see [#3994](https://github.com/pydantic/pydantic/pull/3994) for more details, added in **V1.10**