File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ Examining Symbol Tables
182182
183183 .. method :: get_cells()
184184
185- Return a tuple containing the names of cell variables in this table.
185+ Return a tuple containing names of :term: ` cell variables <closure variable> ` in this table.
186186
187187
188188.. class :: Class
@@ -295,6 +295,12 @@ Examining Symbol Tables
295295 Return ``True `` if the symbol is referenced in its block, but not assigned
296296 to.
297297
298+ .. method :: is_cell()
299+
300+ Return ``True `` if the symbol is a cell variable.
301+
302+ .. versionadded :: 3.15
303+
298304 .. method :: is_free_class()
299305
300306 Return *True * if a class-scoped symbol is free from
@@ -357,12 +363,6 @@ Examining Symbol Tables
357363 Return the namespace bound to this name. If more than one or no namespace
358364 is bound to this name, a :exc: `ValueError ` is raised.
359365
360- .. method :: is_cell()
361-
362- Return ``True `` if the symbol is a cell variable.
363-
364- .. versionadded :: 3.15
365-
366366
367367.. _symtable-cli :
368368
Original file line number Diff line number Diff line change 737737 (Contributed by Ron Frederick in :gh: `138252 `.)
738738
739739
740+ symtable
741+ --------
742+
743+ * Add :meth: `symtable.SymbolTable.get_cells ` and
744+ :meth: `symtable.Symbol.is_cell ` methods.
745+ (Contributed by Yashp002 in :gh: `143504 `.)
746+
747+
740748sys
741749---
742750
You can’t perform that action at this time.
0 commit comments