bpo-35911: add cell constructor (GH-11771)

Add a cell constructor, expose the cell type in the types module.
This commit is contained in:
Pierre Glaser 2019-02-07 20:36:48 +01:00 committed by Antoine Pitrou
parent f289084c83
commit df8d2cde63
6 changed files with 71 additions and 2 deletions

View file

@ -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::