summaryrefslogtreecommitdiffstats
path: root/src/testdir/test86.ok
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-30 13:14:13 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-30 13:14:13 +0200
commit355fd9b468108251eefc8c0d50390d0f627046ea (patch)
tree1a1619b43a82484791e10c3d589d1075f5f46c48 /src/testdir/test86.ok
parent78cddbe2712b5e2bad3928f38345019d6803f31f (diff)
updated for version 7.3.1063v7.3.1063
Problem: Python: Function is not standard. Solution: Python patch 22: make Function subclassable. (ZyX)
Diffstat (limited to 'src/testdir/test86.ok')
-rw-r--r--src/testdir/test86.ok13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/testdir/test86.ok b/src/testdir/test86.ok
index b484ec62e2..34e1e68525 100644
--- a/src/testdir/test86.ok
+++ b/src/testdir/test86.ok
@@ -4,13 +4,15 @@ start:
Vim(put):E684:
[0, 'as''d', [1, 2, function('strlen'), {'a': 1}]]
[0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]]
-['-1', '0', '1', 'b']
-['asd', -1L, <vim.dictionary object at >, <vim.list object at >]
-[('-1', <vim.dictionary object at >), ('0', -1L), ('1', 'asd'), ('b', <vim.list object at >)]
+1
+['-1', '0', '1', 'b', 'f']
+['asd', -1L, <vim.Function '1'>, <vim.dictionary object at >, <vim.list object at >]
+[('-1', <vim.dictionary object at >), ('0', -1L), ('1', 'asd'), ('b', <vim.list object at >), ('f', <vim.Function '1'>)]
'-1' : {'a': 1}
'0' : -1
'1' : 'asd'
'b' : [1, 2, function('strlen')]
+'f' : function('1')
[0, function('strlen')]
[3]
[1, 2, function('strlen')]
@@ -407,13 +409,14 @@ tabpage:__dir__,__members__,number,valid,vars,window,windows
range:__dir__,__members__,append,end,start
dictionary:__dir__,__members__,get,has_key,items,keys,locked,pop,popitem,scope,update,values
list:__dir__,__members__,extend,locked
-function:__call__,__dir__,__members__,softspace
+function:__dir__,__members__,softspace
output:__dir__,__members__,flush,softspace,write,writelines
{}
{'a': 1}
{'a': 1}
[]
['a', 'b', 'c']
+function('tr')
'
abcdef
line :
@@ -424,6 +427,8 @@ abc'
['a', 'dup_a']
['a', 'a']
['a', 'b', 'c']
+[2, 2]
+[2, 2]
(<class 'vim.error'>, error('abc',))
(<class 'vim.error'>, error('def',))
(<class 'vim.error'>, error('ghi',))