]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Docs: replace an esoteric Von Neumann mention (GH-137598) (#141071)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Wed, 5 Nov 2025 21:20:17 +0000 (21:20 +0000)
committerGitHub <noreply@github.com>
Wed, 5 Nov 2025 21:20:17 +0000 (23:20 +0200)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Doc/reference/datamodel.rst

index c176e7158e48bb1b6ff8e0b4adf10a32b1be90da..e5c5cc2d5ef6cbc3c18c04aba67753eabdd6750c 100644 (file)
@@ -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