comparison src/testdir/test87.ok @ 4315:9f3da1dea7c0 v7.3.907

updated for version 7.3.907 Problem: Python uses IndexError when a dict key is not found. Solution: Use KeyError instead. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Wed, 24 Apr 2013 13:04:26 +0200
parents 5e17a12a3b14
children f1eab4f77a6f
comparison
equal deleted inserted replaced
4314:c990b902c743 4315:9f3da1dea7c0
36 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}] 36 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}]
37 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}, 'New'] 37 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}, 'New']
38 Vim(py3):E725: 38 Vim(py3):E725:
39 Vim(py3):E117: 39 Vim(py3):E117:
40 [0.0, 0.0] 40 [0.0, 0.0]
41 IndexError 41 KeyError
42 TypeError 42 TypeError
43 TypeError 43 TypeError
44 ValueError 44 ValueError
45 TypeError 45 TypeError
46 TypeError 46 TypeError