From be8ef63a33f4b20a861b4be0c8b2e7c3e7a6d215 Mon Sep 17 00:00:00 2001 From: Geon Kim - KimMachineGun Date: Fri, 9 Oct 2020 19:28:04 +0900 Subject: [PATCH] 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 Co-authored-by: PrettyWood --- changes/1821-KimMachineGun.md | 1 + docs/usage/models.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/1821-KimMachineGun.md diff --git a/changes/1821-KimMachineGun.md b/changes/1821-KimMachineGun.md new file mode 100644 index 0000000..418c92e --- /dev/null +++ b/changes/1821-KimMachineGun.md @@ -0,0 +1 @@ +Fix typo in the anchor of exporting_models.md#modelcopy and incorrect description. \ No newline at end of file diff --git a/docs/usage/models.md b/docs/usage/models.md index 8706581..69c07c5 100644 --- a/docs/usage/models.md +++ b/docs/usage/models.md @@ -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;