Skip to content

Commit f1c8176

Browse files
[3.13] gh-150285: Fix merging error in GH-150458 (GH-151320)
1 parent 807333d commit f1c8176

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

Lib/_pyio.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,9 @@ def open(file, mode="r", buffering=-1, encoding=None, errors=None,
125125
argument is given, the default buffering policy works as follows:
126126
127127
* Binary files are buffered in fixed-size chunks; the size of the buffer
128-
<<<<<<< HEAD
129-
is chosen using a heuristic trying to determine the underlying device's
130-
"block size" and falling back on `io.DEFAULT_BUFFER_SIZE`.
128+
is chosen using a heuristic trying to determine the underlying
129+
device's "block size" and falling back on `io.DEFAULT_BUFFER_SIZE`.
131130
On many systems, the buffer will typically be 4096 or 8192 bytes long.
132-
=======
133-
is max(min(blocksize, 8 MiB), DEFAULT_BUFFER_SIZE) when the device
134-
block size is available.
135-
On most systems, the buffer will typically be 128 kilobytes long.
136-
>>>>>>> 36137e46a8c ([3.14] gh-150285: Fix too long docstrings in the io module (GH-150287) (GH-150458))
137131
138132
* "Interactive" text files (files for which isatty() returns True)
139133
use line buffering. Other text files use the policy described above

0 commit comments

Comments
 (0)