mirror of
https://github.com/python/cpython.git
synced 2025-10-04 06:06:44 +00:00
[3.11] io: Add missing f (#96701)
This commit is contained in:
parent
99919d4e8a
commit
7bfb11de68
2 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,7 @@ def __getattr__(name):
|
||||||
global OpenWrapper
|
global OpenWrapper
|
||||||
OpenWrapper = open
|
OpenWrapper = open
|
||||||
return OpenWrapper
|
return OpenWrapper
|
||||||
raise AttributeError("module {__name__!r} has no attribute {name!r}")
|
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
||||||
|
|
||||||
|
|
||||||
# Pretend this exception was created here.
|
# Pretend this exception was created here.
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fix incorrect error message in the :mod:`io` module.
|
Loading…
Add table
Add a link
Reference in a new issue