Skip to content

Commit c0bdd84

Browse files
cmaloneyvstinner
andauthored
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent feafb90 commit c0bdd84

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/_io/textio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ struct textio
672672
int ok; /* initialized? */
673673
int detached;
674674
Py_ssize_t chunk_size;
675-
/* Use helpers buffer_* to access buffer; many operations can set it to
675+
/* Use helpers buffer_*() functions to access buffer; many operations can set it to
676676
NULL (see gh-143008, gh-142594). */
677677
PyObject *buffer;
678678
PyObject *encoding;
@@ -3326,7 +3326,7 @@ static PyObject *
33263326
_io_TextIOWrapper_closed_get_impl(textio *self)
33273327
/*[clinic end generated code: output=b49b68f443a85e3c input=7dfcf43f63c7003d]*/
33283328
{
3329-
/* If partially constructed or deconstructed return that the underlying
3329+
/* If partially constructed or deconstructed, return that the underlying
33303330
buffer is closed.
33313331
33323332
The code managing the transition is responsible for closing. The closed

0 commit comments

Comments
 (0)