mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Mention private vars in __slots__.
This commit is contained in:
parent
8b47dffc93
commit
c7c36503eb
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ Type/class unification and new-style classes
|
|||
|
||||
Core and builtins
|
||||
|
||||
- The __slots__ variable can now mention "private" names, and the
|
||||
right thing will happen (e.g. __slots__ = ["__foo"]).
|
||||
|
||||
- Unicode objects in sys.path are no longer ignored but treated
|
||||
as directory names.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue