Steve Dower <steve.do...@python.org> added the comment:
Since collections.abc is a module, it should work if you import it: >>> import collections.abc >>> collections.abc.Container <class 'collections.abc.Container'> Submodules being implicitly imported is not part of any API guarantee, which will be why somebody changed it without considering this impact. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45776> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com