Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8ed69e3

Browse files
committed
SF #829941, update tutorial, built-in types can be base classes since 2.2
1 parent dd66645 commit 8ed69e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/tut/tut.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3550,8 +3550,8 @@ \chapter{Classes \label{classes}}
35503550
representing the object, which is provided implicitly by the call. As
35513551
in Smalltalk, classes themselves are objects, albeit in the wider
35523552
sense of the word: in Python, all data types are objects. This
3553-
provides semantics for importing and renaming. But, just like in
3554-
\Cpp{} or Modula-3, built-in types cannot be used as base classes for
3553+
provides semantics for importing and renaming. Unlike
3554+
\Cpp{} and Modula-3, built-in types can be used as base classes for
35553555
extension by the user. Also, like in \Cpp{} but unlike in Modula-3, most
35563556
built-in operators with special syntax (arithmetic operators,
35573557
subscripting etc.) can be redefined for class instances.

0 commit comments

Comments
 (0)