forked from aniani/vim
Problem: Not possible to lock/unlock lists in Python interface. Solution: Add .locked and .scope attributes. (ZyX)
66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
start:
|
|
[1, 'as''d', [1, 2, function('strlen'), {'a': 1}]]
|
|
[1, 2, function('strlen'), {'a': 1}]
|
|
Vim(put):E684:
|
|
[0, 'as''d', [1, 2, function('strlen'), {'a': 1}]]
|
|
[0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]]
|
|
['-1', '1', 'b']
|
|
'-1' : {'a': 1}
|
|
'1' : 'asd'
|
|
'b' : [1, 2, function('strlen')]
|
|
[0, function('strlen')]
|
|
[3]
|
|
{'1': 'asd', 'b': [1, 2, function('strlen')]}
|
|
[0, 1, 2, 3]
|
|
[0, 1, 2, 3]
|
|
[0, 1, 3]
|
|
[0, 1]
|
|
[0, 1]
|
|
[0, 1]
|
|
[0, 1, 2, 3]
|
|
[0, 1, 2, 3]
|
|
[0, 2, 3]
|
|
[2, 3]
|
|
[2, 3]
|
|
[2, 3]
|
|
['a', 0, 1, 2, 3]
|
|
[0, 'b', 2, 3]
|
|
[0, 1, 'c']
|
|
[0, 1, 2, 3, 'd']
|
|
[0, 1, 2, 'e', 3]
|
|
['f', 2, 3]
|
|
[0, 1, 'g', 2, 3]
|
|
['h']
|
|
[0, 1, 2, 3]
|
|
[function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd']
|
|
[function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}]
|
|
[function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}, 'New']
|
|
Vim(py3):E725:
|
|
Vim(py3):E117:
|
|
[0.0, 0.0]
|
|
IndexError
|
|
TypeError
|
|
TypeError
|
|
ValueError
|
|
TypeError
|
|
TypeError
|
|
d : locked:0;scope:0
|
|
dl : locked:1;scope:0
|
|
v: : locked:2;scope:1
|
|
g: : locked:0;scope:2
|
|
d:{'abc': 1}
|
|
dl:{'def': 1}
|
|
l : locked:0
|
|
ll : locked:1
|
|
l:[0]
|
|
ll:[1]
|
|
[0, 1, 2]
|
|
['a', 'b']
|
|
['c', 1]
|
|
['d', ['e']]
|
|
0.0
|
|
"\0": Vim(let):E861:
|
|
{"\0": 1}: Vim(let):E861:
|
|
undefined_name: Vim(let):E860:
|
|
vim: Vim(let):E861:
|