summaryrefslogtreecommitdiff
path: root/Lib/types.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-11 16:00:06 +0000
committerGuido van Rossum <guido@python.org>1996-10-11 16:00:06 +0000
commit8741b2b98861d9ffcc9d4fa211d278ba62c9109e (patch)
tree787f4c0b46c43ae5728133888bc4cf494f566c8b /Lib/types.py
parent1dde7b737c10cb5d662a6f15866bd6e420f5c2f2 (diff)
downloadcpython-git-8741b2b98861d9ffcc9d4fa211d278ba62c9109e.tar.gz
Added Slice and Ellipses types.
Diffstat (limited to 'Lib/types.py')
-rw-r--r--Lib/types.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/types.py b/Lib/types.py
index b6841735ce..e1fbc4903a 100644
--- a/Lib/types.py
+++ b/Lib/types.py
@@ -47,4 +47,7 @@ except TypeError:
TracebackType = type(sys.exc_traceback)
FrameType = type(sys.exc_traceback.tb_frame)
+SliceType = type(slice(0))
+EllipsesType = type(Ellipses)
+
del sys, _f, _C, _x # Not for export