Skip to content

Commit

Permalink
Remove negative language from Models documentation (#8263)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 30, 2023
1 parent 667cd37 commit 420d8c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/concepts/models.md
Expand Up @@ -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
Expand Down

0 comments on commit 420d8c2

Please sign in to comment.