PEP 443: Fix collections.abc example (#3131)

This commit is contained in:
Erlend E. Aasland 2023-09-20 20:53:10 +02:00 committed by GitHub
parent 00295ada36
commit 3a6714f29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)