Use collections.abc.Reversible if it exists by ilevkivskyi · Pull Request #194 · python/typing

added 3 commits

March 24, 2016 23:27
if it exists. Also if it exists Reversible is a subclass of Iterable, and Sequence is subclass of Reversible.

@ilevkivskyi

@ilevkivskyi

Reversible is not always a protocol (it is a generic ABC if collections.abc.Reversible exists), but SupportsAbs is always a protocol.
Again, Reversible could not be a protocol.

@ilevkivskyi

@ilevkivskyi