8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c4fe9 commit e02a6bcCopy full SHA for e02a6bc
Modules/_io/bufferedio.c
@@ -16,6 +16,10 @@
16
17
#include "_iomodule.h"
18
19
+#define clinic_state() (find_io_state_by_def(Py_TYPE(self)))
20
+#include "clinic/bufferedio.c.h"
21
+#undef clinic_state
22
+
23
/*[clinic input]
24
module _io
25
class _io._BufferedIOBase "PyObject *" "clinic_state()->PyBufferedIOBase_Type"
@@ -517,10 +521,6 @@ buffered_closed(buffered *self)
517
521
return closed;
518
522
}
519
523
520
-#define clinic_state() (find_io_state_by_def(Py_TYPE(self)))
-#include "clinic/bufferedio.c.h"
-#undef clinic_state
-
524
static PyObject *
525
buffered_closed_get_impl(buffered *self, void *context)
526
{
0 commit comments