summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-11 16:00:06 (GMT)
committerGuido van Rossum <guido@python.org>1996-10-11 16:00:06 (GMT)
commit8741b2b98861d9ffcc9d4fa211d278ba62c9109e (patch)
tree787f4c0b46c43ae5728133888bc4cf494f566c8b
parent1dde7b737c10cb5d662a6f15866bd6e420f5c2f2 (diff)
downloadcpython-8741b2b98861d9ffcc9d4fa211d278ba62c9109e.zip
cpython-8741b2b98861d9ffcc9d4fa211d278ba62c9109e.tar.gz
cpython-8741b2b98861d9ffcc9d4fa211d278ba62c9109e.tar.bz2
Added Slice and Ellipses types.
-rw-r--r--Lib/types.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/types.py b/Lib/types.py
index b684173..e1fbc49 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