mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Merge with 3.3
This commit is contained in:
commit
1cb4f607d1
1 changed files with 1 additions and 1 deletions
|
@ -1583,7 +1583,7 @@ Notes on using *__slots__*
|
|||
program undefined. In the future, a check may be added to prevent this.
|
||||
|
||||
* Nonempty *__slots__* does not work for classes derived from "variable-length"
|
||||
built-in types such as :class:`int`, :class:`str` and :class:`tuple`.
|
||||
built-in types such as :class:`int`, :class:`bytes` and :class:`tuple`.
|
||||
|
||||
* Any non-string iterable may be assigned to *__slots__*. Mappings may also be
|
||||
used; however, in the future, special meaning may be assigned to the values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue