Skip to content

Commit 3d9493a

Browse files
cmaloneyvstinner
andauthored
Update Lib/_pyio.py
Co-authored-by: Victor Stinner <[email protected]>
1 parent b2e28dd commit 3d9493a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pyio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def read(self, size=-1):
618618
if n is None:
619619
return None
620620
if n < 0 or n > len(b):
621-
raise ValueError(f"readinto returned '{n}' outside buffer size '{len(b)}'")
621+
raise ValueError(f"readinto returned {n} outside buffer size {len(b)}")
622622
del b[n:]
623623
return bytes(b)
624624

0 commit comments

Comments
 (0)