mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-35911: add cell constructor (GH-11771)
Add a cell constructor, expose the cell type in the types module.
This commit is contained in:
parent
f289084c83
commit
df8d2cde63
6 changed files with 71 additions and 2 deletions
|
@ -539,7 +539,9 @@ Callable types
|
|||
the value of the cell, as well as set the value.
|
||||
|
||||
Additional information about a function's definition can be retrieved from its
|
||||
code object; see the description of internal types below.
|
||||
code object; see the description of internal types below. The
|
||||
:data:`cell <types.CellType>` type can be accessed in the :mod:`types`
|
||||
module.
|
||||
|
||||
Instance methods
|
||||
.. index::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue