mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +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__