From: Guido van Rossum Date: Fri, 21 Jun 2002 01:29:25 +0000 (+0000) Subject: Mention private vars in __slots__. X-Git-Tag: v2.3c1~5246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7c36503ebc1c9fc166ca3c27dd8d7ee8b8eb5ed;p=python Mention private vars in __slots__. --- diff --git a/Misc/NEWS b/Misc/NEWS index 7171c9c35d..99c3547843 100644 --- 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.