mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1769
Problem: No "closed", "errors" and "encoding" attribute on Python output. Solution: Add attributes and more tests. (Roland Puntaier, closes #622)
This commit is contained in:
@@ -503,6 +503,7 @@ static struct PyMethodDef OutputMethods[] = {
|
||||
{"readable", (PyCFunction)AlwaysFalse, METH_NOARGS, ""},
|
||||
{"seekable", (PyCFunction)AlwaysFalse, METH_NOARGS, ""},
|
||||
{"writable", (PyCFunction)AlwaysTrue, METH_NOARGS, ""},
|
||||
{"closed", (PyCFunction)AlwaysFalse, METH_NOARGS, ""},
|
||||
{"__dir__", (PyCFunction)OutputDir, METH_NOARGS, ""},
|
||||
{ NULL, NULL, 0, NULL}
|
||||
};
|
||||
|
Reference in New Issue
Block a user