Remove old compatibility alias _BufferWithLen (#14151)

This commit is contained in:
Sebastian Rittau
2025-05-27 14:38:04 +02:00
committed by GitHub
parent ea39b363e0
commit b01e7aa9d2
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -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]