This commit is contained in:
Georg Brandl 2009-12-28 08:01:59 +00:00
parent 1686f3499f
commit fe8df4fa35
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ a fixed-width print format:
Point: x= 3.000 y= 4.000 hypot= 5.000
Point: x=14.000 y= 0.714 hypot=14.018
The subclass shown above sets ``__slots__`` to an empty tuple. This keeps
The subclass shown above sets ``__slots__`` to an empty tuple. This helps
keep memory requirements low by preventing the creation of instance dictionaries.
Subclassing is not useful for adding new, stored fields. Instead, simply