File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ Simple objects such as :class:`bytes` and :class:`bytearray` expose their
42
42
underlying buffer in byte-oriented form. Other forms are possible; for example,
43
43
the elements exposed by an :class: `array.array ` can be multi-byte values.
44
44
45
- An example consumer of the buffer interface is the :meth: `! write `
45
+ An example consumer of the buffer interface is the :meth: `~io.BufferedIOBase. write `
46
46
method of file objects: any object that can export a series of bytes through
47
- the buffer interface can be written to a file. While :meth: `! write ` only
47
+ the buffer interface can be written to a file. While :meth: `~io.BufferedIOBase. write ` only
48
48
needs read-only access to the internal contents of the object passed to it,
49
49
other methods such as :meth: `~io.BufferedIOBase.readinto ` need write access
50
50
to the contents of their argument. The buffer interface allows objects to
You can’t perform that action at this time.
0 commit comments