https://github.com/python/cpython/commit/237dca52ba1e850758a3dd7e46adb78a4f70d43c
commit: 237dca52ba1e850758a3dd7e46adb78a4f70d43c
branch: main
author: Ned Batchelder <[email protected]>
committer: nedbat <[email protected]>
date: 2025-10-20T10:01:20-04:00
summary:
Docs: replace an esoteric Von Neumann mention (#137598)
* Docs: replace an esoteric Von Neumann mention
* oops, don't need to edit topics.py
files:
M Doc/reference/datamodel.rst
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 28ef5825159cb2..882b05e87319fa 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -16,9 +16,8 @@ Objects, values and types
single: data
:dfn:`Objects` are Python's abstraction for data. All data in a Python program
-is represented by objects or by relations between objects. (In a sense, and in
-conformance to Von Neumann's model of a "stored program computer", code is also
-represented by objects.)
+is represented by objects or by relations between objects. Even code is
+represented by objects.
.. index::
pair: built-in function; id
@@ -29,9 +28,6 @@ represented by objects.)
single: mutable object
single: immutable object
-.. XXX it *is* now possible in some cases to change an object's
- type, under certain controlled conditions
-
Every object has an identity, a type and a value. An object's *identity* never
changes once it has been created; you may think of it as the object's address
in
memory. The :keyword:`is` operator compares the identity of two objects; the
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]