PEP 443: Fix collections.abc example (#3131)
This commit is contained in:
parent
00295ada36
commit
3a6714f29e
|
@ -226,7 +226,7 @@ implementations on the generic function or when user code calls
|
||||||
it is possible to create a situation with ambiguous dispatch, for
|
it is possible to create a situation with ambiguous dispatch, for
|
||||||
instance::
|
instance::
|
||||||
|
|
||||||
>>> from collections import Iterable, Container
|
>>> from collections.abc import Iterable, Container
|
||||||
>>> class P:
|
>>> class P:
|
||||||
... pass
|
... pass
|
||||||
>>> Iterable.register(P)
|
>>> Iterable.register(P)
|
||||||
|
|
Loading…
Reference in New Issue