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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7c36503ebc1c9fc166ca3c27dd8d7ee8b8eb5ed;p=thirdparty%2FPython%2Fcpython.git Mention private vars in __slots__. --- diff --git a/Misc/NEWS b/Misc/NEWS index 7171c9c35d1b..99c354784398 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.