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
commit3a706e97038aa349edbdfb14081f1d87995dfe0f (patch)
tree2305035de3cced4d84967628b0f16ce820797d78 /Lib/types.py
parentb33be6e2e788f29093fd25028c9268350cd00765 (diff)
downloadcpython-3a706e97038aa349edbdfb14081f1d87995dfe0f.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