[Python-checkins] Fix typo in datamodel.rst (#106587)

kumaraditya303 webhook-mailer at python.org
Mon Jul 10 07:52:45 EDT 2023


https://github.com/python/cpython/commit/43389e4a3a15daaa2c4ea7059637e2fce3f38966
commit: 43389e4a3a15daaa2c4ea7059637e2fce3f38966
branch: main
author: Riahiamirreza <54557628+Riahiamirreza at users.noreply.github.com>
committer: kumaraditya303 <kumaraditya at python.org>
date: 2023-07-10T17:22:41+05:30
summary:

Fix typo in datamodel.rst (#106587)

files:
M Doc/reference/datamodel.rst

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 7f5edbbcadca6..8a10a34347c2d 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1625,7 +1625,7 @@ access (use of, assignment to, or deletion of ``x.name``) for class instances.
    :meth:`__getattr__` and :meth:`__setattr__`.) This is done both for efficiency
    reasons and because otherwise :meth:`__getattr__` would have no way to access
    other attributes of the instance.  Note that at least for instance variables,
-   you can fake total control by not inserting any values in the instance attribute
+   you can take total control by not inserting any values in the instance attribute
    dictionary (but instead inserting them in another object).  See the
    :meth:`__getattribute__` method below for a way to actually get total control
    over attribute access.



More information about the Python-checkins mailing list