summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-10-25 14:15:54 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-10-25 14:15:54 (GMT)
commit8ed69e3389f7caf4a4f9f6ba5a09a618a528484b (patch)
tree8c98e30e3900c92028b77bb4ecfcdd5f7929320c
parentdd6664514fe37d7c2544f07fabdd2726f777b068 (diff)
downloadcpython-8ed69e3389f7caf4a4f9f6ba5a09a618a528484b.zip
cpython-8ed69e3389f7caf4a4f9f6ba5a09a618a528484b.tar.gz
cpython-8ed69e3389f7caf4a4f9f6ba5a09a618a528484b.tar.bz2
SF #829941, update tutorial, built-in types can be base classes since 2.2
-rw-r--r--Doc/tut/tut.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index 0054b1f..e6017b0 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -3550,8 +3550,8 @@ method function is declared with an explicit first argument
representing the object, which is provided implicitly by the call. As
in Smalltalk, classes themselves are objects, albeit in the wider
sense of the word: in Python, all data types are objects. This
-provides semantics for importing and renaming. But, just like in
-\Cpp{} or Modula-3, built-in types cannot be used as base classes for
+provides semantics for importing and renaming. Unlike
+\Cpp{} and Modula-3, built-in types can be used as base classes for
extension by the user. Also, like in \Cpp{} but unlike in Modula-3, most
built-in operators with special syntax (arithmetic operators,
subscripting etc.) can be redefined for class instances.