Skip to content

Commit 237dca5

Browse files
authored
Docs: replace an esoteric Von Neumann mention (python#137598)
* Docs: replace an esoteric Von Neumann mention * oops, don't need to edit topics.py
1 parent f11ec6e commit 237dca5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Doc/reference/datamodel.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ Objects, values and types
1616
single: data
1717

1818
:dfn:`Objects` are Python's abstraction for data. All data in a Python program
19-
is represented by objects or by relations between objects. (In a sense, and in
20-
conformance to Von Neumann's model of a "stored program computer", code is also
21-
represented by objects.)
19+
is represented by objects or by relations between objects. Even code is
20+
represented by objects.
2221

2322
.. index::
2423
pair: built-in function; id
@@ -29,9 +28,6 @@ represented by objects.)
2928
single: mutable object
3029
single: immutable object
3130

32-
.. XXX it *is* now possible in some cases to change an object's
33-
type, under certain controlled conditions
34-
3531
Every object has an identity, a type and a value. An object's *identity* never
3632
changes once it has been created; you may think of it as the object's address in
3733
memory. The :keyword:`is` operator compares the identity of two objects; the

0 commit comments

Comments
 (0)