mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-14 11:39:44 +08:00
a1331accbe
`int.from_bytes` supports both iterables of ints and objects that define __bytes__'. As an example `int.from_bytes(iter([1, 0]), 'little'))` returns 1.