mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
First was for mypy compatibility, but is no longer needed. Second is removed by going inheriting (Iterable[bytes], Container[bytes], Sized, Reversible[bytes]) instead of Sequence[bytes]. Should presumably catch more errors when using __getattr__