Skip to content

Commit

Permalink
pythongh-115775: Add whatnew entry about __static_attributes__
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Apr 15, 2024
1 parent 3375282 commit 1929797
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/whatsnew/3.13.rst
Expand Up @@ -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
------------------------------

Expand Down

0 comments on commit 1929797

Please sign in to comment.