]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added Slice and Ellipses types.
authorGuido van Rossum <guido@python.org>
Fri, 11 Oct 1996 16:00:06 +0000 (16:00 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 11 Oct 1996 16:00:06 +0000 (16:00 +0000)
Lib/types.py

index b6841735ce74c3523877dfab6e29603139c2cb32..e1fbc4903a77218ae4fca8cb94d3a12d5924d7a9 100644 (file)
@@ -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