File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ I/O Base Classes
535535
536536 This function does not ensure all bytes are written or an exception is
537537 thrown. Callers may implement that behavior by checking the return
538- value, and if it is less than the length of *b * looping with additional
538+ value and, if it is less than the length of *b *, looping with additional
539539 write calls until all unwritten bytes are written. High-level I/O
540540 objects like :ref: `binary-io ` and :ref: `text-io ` implement retry behavior.
541541
@@ -667,7 +667,7 @@ Raw File I/O
667667
668668 A raw binary stream representing an OS-level file containing bytes data. It
669669 inherits from :class: `RawIOBase ` and implements its low-level access design.
670- This means :meth: `~RawIOBase.write ` doesn't guarantee all bytes are written
670+ This means :meth: `~RawIOBase.write ` does not guarantee all bytes are written
671671 and :meth: `~RawIOBase.read ` may read less bytes than requested even when more
672672 bytes may be present in the underlying file. To get "write all" and
673673 "read at least" behavior, use :ref: `binary-io `.
You can’t perform that action at this time.
0 commit comments