Reader_close() asserts that 'args' is always NULL, but the __exit__
function forwards a non-NULL args.
"Part of the context manager protocol.\n"
"Closes the journal.\n");
static PyObject* Reader___exit__(Reader *self, PyObject *args) {
"Part of the context manager protocol.\n"
"Closes the journal.\n");
static PyObject* Reader___exit__(Reader *self, PyObject *args) {
- return Reader_close(self, args);
+ return Reader_close(self, NULL);
}
PyDoc_STRVAR(Reader_next__doc__,
}
PyDoc_STRVAR(Reader_next__doc__,