Remove old compatibility alias _BufferWithLen (#14151)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2025-05-27 14:38:04 +02:00
1 parent ea39b363e0
commit b01e7aa9d2
2 files changed
+2 -5

No files matched your search

-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]