summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-15 14:39:52 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-15 14:39:52 +0200
commitb6c589a529bc8c5720477494696c6f69fe457475 (patch)
treefa6f512190cb15fa5a0a3186312ede6115881e61 /runtime
parent46a7561f3a151fefc469225d41822dd0be292f98 (diff)
downloadvim-git-b6c589a529bc8c5720477494696c6f69fe457475.tar.gz
updated for version 7.3.947v7.3.947
Problem: Python: No iterator for vim.list and vim.bufferlist. Solution: Add the iterators. Also fix name of FunctionType. Add tests for vim.buffers. (ZyX)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/if_pyth.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index b5ff3d02d..22c12a0d3 100644
--- a/runtime/doc/if_pyth.txt
+++ b/runtime/doc/if_pyth.txt
@@ -214,6 +214,7 @@ vim.buffers *python-buffers*
:py b = vim.buffers[i] # Indexing (read-only)
:py b in vim.buffers # Membership test
:py n = len(vim.buffers) # Number of elements
+ :py for b in vim.buffers: # Iterating over buffer list
<
vim.windows *python-windows*
A sequence object providing access to the list of vim windows. The