Skip to content

Commit cdb9283

Browse files
committed
Fix linting issues
- Remove trailing whitespace - Add missing newline at end of NEWS file
1 parent 69960dc commit cdb9283

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Fix assertion failure in :meth:`io.TextIOWrapper.tell` when reading files with standalone carriage return (``\r``) line endings.
1+
Fix assertion failure in :meth:`io.TextIOWrapper.tell` when reading files with standalone carriage return (``\r``) line endings.

Modules/_io/textio.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2844,7 +2844,6 @@ _io_TextIOWrapper_tell_impl(textio *self)
28442844
/* Fast search for an acceptable start point, close to our
28452845
current pos */
28462846
skip_bytes = (Py_ssize_t) (self->b2cratio * chars_to_skip);
2847-
28482847
/* Skip the optimization if next_input is empty */
28492848
if (PyBytes_GET_SIZE(next_input) == 0) {
28502849
skip_bytes = 0;

0 commit comments

Comments
 (0)