summaryrefslogtreecommitdiff
path: root/src/testdir/test87.ok
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-29 22:36:10 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-29 22:36:10 +0200
commitdd8aca664d9768614d18cebec84badc3ecad3af5 (patch)
tree6002f0821e725f7829f73bc05336f4fc4ca376a3 /src/testdir/test87.ok
parent432b09c84dc6daf0b7ca8dac986bc0b1faf899d7 (diff)
downloadvim-dd8aca664d9768614d18cebec84badc3ecad3af5.zip
updated for version 7.3.1047
Problem: Python: dir() does not work properly. Solution: Python patch 8. Add __dir__ method to all objects with custom tp_getattr supplemented by __members__ attribute for at least python-2* versions. __members__ is not mentioned in python-3* dir() output even if it is accessible. (ZyX)
Diffstat (limited to 'src/testdir/test87.ok')
-rw-r--r--src/testdir/test87.ok9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok
index c04d2201e..3b39c18ba 100644
--- a/src/testdir/test87.ok
+++ b/src/testdir/test87.ok
@@ -371,6 +371,15 @@ vim.current.buffer:Buffer:True
vim.current.range:Range:True
vim.current.window:Window:True
vim.current.tabpage:TabPage:True
+current:__dir__,buffer,line,range,tabpage,window
+buffer:__dir__,append,mark,name,number,options,range,valid,vars
+window:__dir__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars
+tabpage:__dir__,number,valid,vars,window,windows
+range:__dir__,append,end,start
+dictionary:__dir__,keys,locked,scope
+list:__dir__,extend,locked
+function:__call__,__dir__,softspace
+output:__dir__,flush,softspace,write,writelines
(<class 'vim.error'>, error('abc',))
(<class 'vim.error'>, error('def',))
(<class 'vim.error'>, error('ghi',))