mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.422
Problem: Python 3 does not have __members__. Solution: Add "name" and "number" in another way. (lilydjwg)
This commit is contained in:
@@ -1479,6 +1479,9 @@ static struct PyMethodDef BufferMethods[] = {
|
||||
{"append", BufferAppend, 1, "Append data to Vim buffer" },
|
||||
{"mark", BufferMark, 1, "Return (row,col) representing position of named mark" },
|
||||
{"range", BufferRange, 1, "Return a range object which represents the part of the given buffer between line numbers s and e" },
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
{"__dir__", BufferDir, 4, "List its attributes" },
|
||||
#endif
|
||||
{ NULL, NULL, 0, NULL }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user