summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-15 13:38:47 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-15 13:38:47 +0200
commitdfa38d4e45a4a64c6b2a84c1d4c91b153f43a86d (patch)
treea60f495de869a13fde8cdf7cabd2ad977f9da521 /runtime
parent29607acff640183682cd4ecb6c65985a7897bd51 (diff)
downloadvim-dfa38d4e45a4a64c6b2a84c1d4c91b153f43a86d.zip
updated for version 7.3.945
Problem: Python: List of buffers is not very useful. Solution: Make vim.buffers a map. No iterator yet. (ZyX)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/if_pyth.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index dcdcf207f..b5ff3d02d 100644
--- a/runtime/doc/if_pyth.txt
+++ b/runtime/doc/if_pyth.txt
@@ -209,12 +209,11 @@ Constants of the "vim" module
to which the variables referred.
vim.buffers *python-buffers*
- A sequence object providing access to the list of vim buffers. The
+ A mapping object providing access to the list of vim buffers. The
object supports the following operations: >
: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: # Sequential access
<
vim.windows *python-windows*
A sequence object providing access to the list of vim windows. The