mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-06 09:57:41 +08:00
Add BufferError, Ellipsis to 2.7/
This commit is contained in:
@@ -712,11 +712,10 @@ def __import__(name: str, globals: Dict[str, Any] = {}, locals: Dict[str, Any] =
|
||||
|
||||
# Ellipsis
|
||||
|
||||
class ellipsis:
|
||||
# TODO not defined in builtins!
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
Ellipsis = ellipsis()
|
||||
# Actually the type of Ellipsis is <type 'ellipsis'>, but since it's
|
||||
# not exposed anywhere under that name, we make it private here.
|
||||
class _ellipsis: ...
|
||||
Ellipsis = ... # type: _ellipsis
|
||||
|
||||
# Exceptions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user