From 19297979000d049a55124b60c777c7629ee9ac49 Mon Sep 17 00:00:00 2001 From: Irit Katriel Date: Mon, 15 Apr 2024 19:58:52 +0100 Subject: [PATCH] gh-115775: Add whatnew entry about __static_attributes__ --- Doc/whatsnew/3.13.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index 83c528814c967e..2affa852087f2f 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -115,6 +115,10 @@ Improved Error Messages ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TypeError: split() got an unexpected keyword argument 'max_split'. Did you mean 'maxsplit'? +* Classes have a new ``__static_attributes__``, populated by the compiler, + with a tuple of names of attributes of this class which are accessed + through ``self.X`` from any function in its body. + Incremental Garbage Collection ------------------------------