From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 5 Nov 2025 21:40:56 +0000 (+0100) Subject: [3.13] Docs: replace an esoteric Von Neumann mention (GH-137598) (#140371) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db0900be6e906b07a7eee39a1e87c36f956c79ea;p=thirdparty%2FPython%2Fcpython.git [3.13] Docs: replace an esoteric Von Neumann mention (GH-137598) (#140371) Co-authored-by: Ned Batchelder --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 7c4b84680b60..0d6e02d3881a 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