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 b2e28dd commit 3d9493aCopy full SHA for 3d9493a
Lib/_pyio.py
@@ -618,7 +618,7 @@ def read(self, size=-1):
618
if n is None:
619
return None
620
if n < 0 or n > len(b):
621
- raise ValueError(f"readinto returned '{n}' outside buffer size '{len(b)}'")
+ raise ValueError(f"readinto returned {n} outside buffer size {len(b)}")
622
del b[n:]
623
return bytes(b)
624
0 commit comments