mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
docs: Fix incorrect description of copy method (#1821)
* docs: Fix typo * docs: Fix incorrect description of copy method * changes: Add changes description file * docs: Add space before parentheses Co-authored-by: PrettyWood <em.jolibois@gmail.com> Co-authored-by: PrettyWood <em.jolibois@gmail.com>
This commit is contained in:
committed by
GitHub
parent
75859a9d58
commit
be8ef63a33
@@ -0,0 +1 @@
|
||||
Fix typo in the anchor of exporting_models.md#modelcopy and incorrect description.
|
||||
@@ -71,7 +71,7 @@ Models possess the following methods and attributes:
|
||||
cf. [exporting models](exporting_models.md#modeljson)
|
||||
|
||||
`copy()`
|
||||
: returns a deep copy of the model; cf. [exporting models](exporting_models.md#modeldcopy)
|
||||
: returns a copy (by default, shallow copy) of the model; cf. [exporting models](exporting_models.md#modelcopy)
|
||||
|
||||
`parse_obj()`
|
||||
: a utility for loading any object into a model with error handling if the object is not a dictionary;
|
||||
|
||||
Reference in New Issue
Block a user