Mercurial > vim
comparison src/testdir/test86.ok @ 4631:4157fef7b950 v7.3.1063
updated for version 7.3.1063
Problem: Python: Function is not standard.
Solution: Python patch 22: make Function subclassable. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 30 May 2013 13:14:13 +0200 |
parents | e4e48d4ee040 |
children | 4c46e1487c63 |
comparison
equal
deleted
inserted
replaced
4630:aaf27e427749 | 4631:4157fef7b950 |
---|---|
2 [1, 'as''d', [1, 2, function('strlen'), {'a': 1}]] | 2 [1, 'as''d', [1, 2, function('strlen'), {'a': 1}]] |
3 [1, 2, function('strlen'), {'a': 1}] | 3 [1, 2, function('strlen'), {'a': 1}] |
4 Vim(put):E684: | 4 Vim(put):E684: |
5 [0, 'as''d', [1, 2, function('strlen'), {'a': 1}]] | 5 [0, 'as''d', [1, 2, function('strlen'), {'a': 1}]] |
6 [0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]] | 6 [0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]] |
7 ['-1', '0', '1', 'b'] | 7 1 |
8 ['asd', -1L, <vim.dictionary object at >, <vim.list object at >] | 8 ['-1', '0', '1', 'b', 'f'] |
9 [('-1', <vim.dictionary object at >), ('0', -1L), ('1', 'asd'), ('b', <vim.list object at >)] | 9 ['asd', -1L, <vim.Function '1'>, <vim.dictionary object at >, <vim.list object at >] |
10 [('-1', <vim.dictionary object at >), ('0', -1L), ('1', 'asd'), ('b', <vim.list object at >), ('f', <vim.Function '1'>)] | |
10 '-1' : {'a': 1} | 11 '-1' : {'a': 1} |
11 '0' : -1 | 12 '0' : -1 |
12 '1' : 'asd' | 13 '1' : 'asd' |
13 'b' : [1, 2, function('strlen')] | 14 'b' : [1, 2, function('strlen')] |
15 'f' : function('1') | |
14 [0, function('strlen')] | 16 [0, function('strlen')] |
15 [3] | 17 [3] |
16 [1, 2, function('strlen')] | 18 [1, 2, function('strlen')] |
17 [1, 2, function('strlen')] | 19 [1, 2, function('strlen')] |
18 1 | 20 1 |
405 window:__dir__,__members__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars | 407 window:__dir__,__members__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars |
406 tabpage:__dir__,__members__,number,valid,vars,window,windows | 408 tabpage:__dir__,__members__,number,valid,vars,window,windows |
407 range:__dir__,__members__,append,end,start | 409 range:__dir__,__members__,append,end,start |
408 dictionary:__dir__,__members__,get,has_key,items,keys,locked,pop,popitem,scope,update,values | 410 dictionary:__dir__,__members__,get,has_key,items,keys,locked,pop,popitem,scope,update,values |
409 list:__dir__,__members__,extend,locked | 411 list:__dir__,__members__,extend,locked |
410 function:__call__,__dir__,__members__,softspace | 412 function:__dir__,__members__,softspace |
411 output:__dir__,__members__,flush,softspace,write,writelines | 413 output:__dir__,__members__,flush,softspace,write,writelines |
412 {} | 414 {} |
413 {'a': 1} | 415 {'a': 1} |
414 {'a': 1} | 416 {'a': 1} |
415 [] | 417 [] |
416 ['a', 'b', 'c'] | 418 ['a', 'b', 'c'] |
419 function('tr') | |
417 ' | 420 ' |
418 abcdef | 421 abcdef |
419 line : | 422 line : |
420 abcdef | 423 abcdef |
421 abc | 424 abc |
422 line : | 425 line : |
423 abc' | 426 abc' |
424 ['a', 'dup_a'] | 427 ['a', 'dup_a'] |
425 ['a', 'a'] | 428 ['a', 'a'] |
426 ['a', 'b', 'c'] | 429 ['a', 'b', 'c'] |
430 [2, 2] | |
431 [2, 2] | |
427 (<class 'vim.error'>, error('abc',)) | 432 (<class 'vim.error'>, error('abc',)) |
428 (<class 'vim.error'>, error('def',)) | 433 (<class 'vim.error'>, error('def',)) |
429 (<class 'vim.error'>, error('ghi',)) | 434 (<class 'vim.error'>, error('ghi',)) |
430 (<class 'vim.error'>, error('Vim(echoerr):jkl',)) | 435 (<class 'vim.error'>, error('Vim(echoerr):jkl',)) |
431 (<class 'vim.error'>, error('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)) | 436 (<class 'vim.error'>, error('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)) |