Skip to content

Commit 79734e6

Browse files
committed
Docs: replace an esoteric Von Neumann mention
1 parent 046a4e3 commit 79734e6

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Doc/reference/datamodel.rst

Lines changed: 2 additions & 3 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

Lib/pydoc_data/topics.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6894,9 +6894,8 @@ class that has an "__rsub__()" method, "type(y).__rsub__(y, x)" is
68946894
*************************
68956895

68966896
*Objects* are Python’s abstraction for data. All data in a Python
6897-
program is represented by objects or by relations between objects. (In
6898-
a sense, and in conformance to Von Neumann’s model of a “stored
6899-
program computer”, code is also represented by objects.)
6897+
program is represented by objects or by relations between objects.
6898+
Even code is represented by objects.
69006899

69016900
Every object has an identity, a type and a value. An object’s
69026901
*identity* never changes once it has been created; you may think of it

0 commit comments

Comments
 (0)