Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fced3ec + 340a692 commit 1cb4f60Copy full SHA for 1cb4f60
1 file changed
Doc/reference/datamodel.rst
@@ -1583,7 +1583,7 @@ Notes on using *__slots__*
1583
program undefined. In the future, a check may be added to prevent this.
1584
1585
* Nonempty *__slots__* does not work for classes derived from "variable-length"
1586
- built-in types such as :class:`int`, :class:`str` and :class:`tuple`.
+ built-in types such as :class:`int`, :class:`bytes` and :class:`tuple`.
1587
1588
* Any non-string iterable may be assigned to *__slots__*. Mappings may also be
1589
used; however, in the future, special meaning may be assigned to the values
0 commit comments