summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorPierre Glaser <pierreglaser@msn.com>2019-02-07 19:36:48 (GMT)
committerAntoine Pitrou <pitrou@free.fr>2019-02-07 19:36:48 (GMT)
commitdf8d2cde63c865446468351f8f648e1c7bd45109 (patch)
tree1cc555d57319990602a4987cbf21ee225c4ff2a1 /Misc
parentf289084c83190cc72db4a70c58f007ec62e75247 (diff)
downloadcpython-df8d2cde63c865446468351f8f648e1c7bd45109.zip
cpython-df8d2cde63c865446468351f8f648e1c7bd45109.tar.gz
cpython-df8d2cde63c865446468351f8f648e1c7bd45109.tar.bz2
bpo-35911: add cell constructor (GH-11771)
Add a cell constructor, expose the cell type in the types module.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-02-06-17-50-59.bpo-35911.oiWE8.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-06-17-50-59.bpo-35911.oiWE8.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-06-17-50-59.bpo-35911.oiWE8.rst
new file mode 100644
index 0000000..458ccb4
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-02-06-17-50-59.bpo-35911.oiWE8.rst
@@ -0,0 +1,3 @@
+Enable the creation of cell objects by adding a ``cell.__new__`` method, and
+expose the type ``cell`` in ``Lib/types.py`` under the name CellType. Patch by
+Pierre Glaser.