File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ importlib: 2.7-
152
152
importlib.metadata: 3.8-
153
153
importlib.metadata._meta: 3.10-
154
154
importlib.resources: 3.7-
155
+ importlib.resources.abc: 3.11-
155
156
inspect: 2.7-
156
157
io: 2.7-
157
158
ipaddress: 3.3-
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import sys
2
+
3
+ if sys .version_info >= (3 , 11 ):
4
+ # These are all actually defined in this file on 3.11+,
5
+ # and re-exported from importlib.abc,
6
+ # but it's much less code duplication for typeshed if we pretend that they're still defined
7
+ # in importlib.abc on 3.11+, and re-exported from this file
8
+ from importlib .abc import (
9
+ ResourceReader as ResourceReader ,
10
+ Traversable as Traversable ,
11
+ TraversableResources as TraversableResources ,
12
+ )
You can’t perform that action at this time.
0 commit comments