diff options
author | Raymond Hettinger <python@rcn.com> | 2004-11-18 06:20:30 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-11-18 06:20:30 (GMT) |
commit | 83e4a146dbc8bd66af8e691706292bc08ef09f56 (patch) | |
tree | dd28fd233a386fdeb63fe37cb40a91901a75ab69 /Doc/tut/tut.tex | |
parent | 88c2595bf66fa8991d48f9546d72e97bba59f086 (diff) | |
download | cpython-83e4a146dbc8bd66af8e691706292bc08ef09f56.zip cpython-83e4a146dbc8bd66af8e691706292bc08ef09f56.tar.gz cpython-83e4a146dbc8bd66af8e691706292bc08ef09f56.tar.bz2 |
SF bug #1067018: Obsolete info in Tutorial 9.1
Removed a section that is out of date after type/class unification.
While there was still some validity, the paragraph offered more
confusion that insight.
Diffstat (limited to 'Doc/tut/tut.tex')
-rw-r--r-- | Doc/tut/tut.tex | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 155ee5e..df798b4 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -3660,15 +3660,6 @@ make occasional use of Smalltalk and \Cpp{} terms. (I would use Modula-3 terms, since its object-oriented semantics are closer to those of Python than \Cpp, but I expect that few readers have heard of it.) -I also have to warn you that there's a terminological pitfall for -object-oriented readers: the word ``object'' in Python does not -necessarily mean a class instance. Like \Cpp{} and Modula-3, and -unlike Smalltalk, not all types in Python are classes: the basic -built-in types like integers and lists are not, and even somewhat more -exotic types like files aren't. However, \emph{all} Python types -share a little bit of common semantics that is best described by using -the word object. - Objects have individuality, and multiple names (in multiple scopes) can be bound to the same object. This is known as aliasing in other languages. This is usually not appreciated on a first glance at |