mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 10:32:40 +08:00
Remove old compatibility alias _BufferWithLen (#14151)
This commit is contained in:
1 parent
ea39b363e0
commit
b01e7aa9d2
2 files changed
+2
-5
No files matched your search
@@ -298,9 +298,6 @@ class SupportsGetItemBuffer(SliceableBuffer, IndexableBuffer, Protocol):
|
||||
|
||||
class SizedBuffer(Sized, Buffer, Protocol): ...
|
||||
|
||||
# for compatibility with third-party stubs that may use this
|
||||
_BufferWithLen: TypeAlias = SizedBuffer # not stable # noqa: Y047
|
||||
|
||||
ExcInfo: TypeAlias = tuple[type[BaseException], BaseException, TracebackType]
|
||||
OptExcInfo: TypeAlias = ExcInfo | tuple[None, None, None]
|
||||
|
||||
|
||||
Reference in new issue
Block a user