Sydney Pemberton <[email protected]> added the comment:
If you look at the Jupyter notebook it should be fairly clear but to
summarize here is the issue:
class collections.abc.Container
class collections.abc.Hashable
class collections.abc.Sized
class collections.abc.Callable
ABCs for classes that provide respectively the
methods __contains__(), __hash__(), __len__(), and __call__().
This should become
class collections.abc.Container
ABC for classes that provide the method __contains__().
class collections.abc.Hashable
ABC for classes that provide the method __hash__().
class collections.abc.Sized
ABC for classes that provide the method __len()__.
class collections.abc.Callable
ABC for classes that provide the method __call__().
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40994>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com