We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0be6d5 commit 4ae9584Copy full SHA for 4ae9584
importlib_metadata/__init__.py
@@ -11,7 +11,7 @@
11
import functools
12
import itertools
13
import posixpath
14
-import collections.abc
+import collections
15
16
from ._compat import (
17
NullFinder,
@@ -841,6 +841,7 @@ def packages_distributions() -> Mapping[str, List[str]]:
841
Return a mapping of top-level packages to their
842
distributions.
843
844
+ >>> import collections.abc
845
>>> pkgs = packages_distributions()
846
>>> all(isinstance(dist, collections.abc.Sequence) for dist in pkgs.values())
847
True
0 commit comments