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

Skip to content

Commit 1cb4f60

Browse files
committed
Merge with 3.3
2 parents fced3ec + 340a692 commit 1cb4f60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@ Notes on using *__slots__*
15831583
program undefined. In the future, a check may be added to prevent this.
15841584

15851585
* Nonempty *__slots__* does not work for classes derived from "variable-length"
1586-
built-in types such as :class:`int`, :class:`str` and :class:`tuple`.
1586+
built-in types such as :class:`int`, :class:`bytes` and :class:`tuple`.
15871587

15881588
* Any non-string iterable may be assigned to *__slots__*. Mappings may also be
15891589
used; however, in the future, special meaning may be assigned to the values

0 commit comments

Comments
 (0)