From 420d8c213be9983b252b769af56d072ac8fd1ade Mon Sep 17 00:00:00 2001 From: "Amanda H. L. de Andrade Katz" Date: Thu, 30 Nov 2023 11:15:49 -0300 Subject: [PATCH] Remove negative language from Models documentation (#8263) Co-authored-by: Samuel Colvin Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com> --- docs/concepts/models.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/concepts/models.md b/docs/concepts/models.md index f9e5d76fb7..8d48a79cb7 100644 --- a/docs/concepts/models.md +++ b/docs/concepts/models.md @@ -1222,8 +1222,8 @@ values of instance attributes will raise errors. See the [API reference][pydanti This config flag is deprecated in Pydantic V2, and has been replaced with `frozen`. !!! warning - Immutability in Python is never strict. If developers are determined/stupid they can always - modify a so-called "immutable" object. + In Python, immutability is not enforced. Developers have the ability to modify objects + that are conventionally considered "immutable" if they choose to do so. ```py from pydantic import BaseModel, ConfigDict, ValidationError