mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Rename _ellipsis to ellipsis.
mypy depends on the latter.
This commit is contained in:
@@ -727,8 +727,8 @@ def locals() -> Dict[str, Any]: ...
|
||||
|
||||
# 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
|
||||
class ellipsis: ...
|
||||
Ellipsis = ... # type: ellipsis
|
||||
|
||||
# TODO: buffer support is incomplete; e.g. some_string.startswith(some_buffer) doesn't type check.
|
||||
AnyBuffer = TypeVar('AnyBuffer', str, unicode, bytearray, buffer)
|
||||
|
||||
@@ -714,8 +714,8 @@ def __import__(name: str, globals: Dict[str, Any] = {}, locals: Dict[str, Any] =
|
||||
|
||||
# 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
|
||||
class ellipsis: ...
|
||||
Ellipsis = ... # type: ellipsis
|
||||
|
||||
# Exceptions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user