mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987.
This commit is contained in:
parent
9ad764601b
commit
16ca06b8cb
5 changed files with 61 additions and 13 deletions
|
|
@ -1516,7 +1516,7 @@ class TestSingleDispatch(unittest.TestCase):
|
|||
m = mro(D, bases)
|
||||
self.assertEqual(m, [D, c.MutableSequence, c.Sequence,
|
||||
c.defaultdict, dict, c.MutableMapping,
|
||||
c.Mapping, c.Sized, c.Iterable, c.Container,
|
||||
c.Mapping, c.Sized, c.Reversible, c.Iterable, c.Container,
|
||||
object])
|
||||
|
||||
# Container and Callable are registered on different base classes and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue