]> granicus.if.org Git - python/commitdiff
Mention private vars in __slots__.
authorGuido van Rossum <guido@python.org>
Fri, 21 Jun 2002 01:29:25 +0000 (01:29 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 21 Jun 2002 01:29:25 +0000 (01:29 +0000)
Misc/NEWS

index 7171c9c35d1bc4bf0d331aeacebcb1154f34fecd..99c354784398a5ad9b8cc6af82557f4fd5a6155d 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.