Skip to content

Commit 97ace7d

Browse files
gh-124697: Add What's New entry for inlined comprehension symbol tables
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 8dfe966 commit 97ace7d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/whatsnew/3.16.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,11 @@ symtable
498498
like the builtin :func:`compile`.
499499
(Contributed by Serhiy Storchaka in :gh:`153844`.)
500500

501+
* Inlined list, set and dict comprehensions (:pep:`709`) are now represented
502+
as their own symbol tables, of type
503+
:attr:`~symtable.SymbolTableType.INLINED_COMPREHENSION`.
504+
(Contributed by Irit Katriel in :gh:`124697`.)
505+
501506

502507
tkinter
503508
-------

0 commit comments

Comments
 (0)