diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-02-11 18:47:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-02-11 18:47:27 +0100 |
commit | 2d5f38ff10a955058416b93aae774aeef1c34486 (patch) | |
tree | c95e374689c7f39926ab20a260eac144e389d727 /src/testdir/test86.in | |
parent | cd981f2e0f00613a63b46e1e6b5227d5993ba994 (diff) | |
download | vim-git-2d5f38ff10a955058416b93aae774aeef1c34486.tar.gz |
updated for version 7.4.176v7.4.176
Problem: Dictionary.update() thows an error when used without arguments.
Python programmers don't expect that.
Solution: Make Dictionary.update() without arguments do nothing. (ZyX)
Diffstat (limited to 'src/testdir/test86.in')
-rw-r--r-- | src/testdir/test86.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test86.in b/src/testdir/test86.in index 240e07e47..ab5541faf 100644 --- a/src/testdir/test86.in +++ b/src/testdir/test86.in @@ -39,6 +39,7 @@ STARTTEST py << EOF d=vim.bindeval('d') d['1']='asd' +d.update() # Must not do anything, including throwing errors d.update(b=[1, 2, f]) d.update((('-1', {'a': 1}),)) d.update({'0': -1}) |