Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2d45945

Browse filesBrowse files
committed
Merge tag 'v5.0.7' into cpython-3.10
2 parents d89e03e + 690b5d6 commit 2d45945
Copy full SHA for 2d45945

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎Lib/importlib/_adapters.py

Copy file name to clipboardExpand all lines: Lib/importlib/_adapters.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ def is_dir(self):
4646
def joinpath(self, other):
4747
return DegenerateFiles.Path()
4848

49+
@property
4950
def name(self):
5051
return ''
5152

52-
def open(self):
53+
def open(self, mode='rb', *args, **kwargs):
5354
raise ValueError()
5455

5556
def __init__(self, spec):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.