Skip to content

Commit afe79c7

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_io/textio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,10 +759,10 @@ static PyObject *
759759
buffer_getattr(textio *self, PyObject *attr_name)
760760
{
761761
PyObject *buffer = buffer_access_safe(self);
762-
763762
if (buffer == NULL) {
764763
return NULL;
765764
}
765+
766766
return PyObject_GetAttr(buffer, attr_name);
767767
}
768768

0 commit comments

Comments
 (0)