Mercurial > vim
diff runtime/doc/if_pyth.txt @ 11062:1218c5353e2b
Runtime file updates.
commit https://github.com/vim/vim/commit/214641f77df6f318a4b3a0b09723c19859a103f4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 5 17:04:09 2017 +0100
Runtime file updates.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 05 Mar 2017 17:15:05 +0100 |
parents | e05695e59f6d |
children | d0a20101ecb2 |
line wrap: on
line diff
--- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 8.0. Last change: 2017 Feb 17 +*if_pyth.txt* For Vim version 8.0. Last change: 2017 Feb 18 VIM REFERENCE MANUAL by Paul Moore @@ -174,8 +174,8 @@ vim.eval(str) *python-eval* :py tagList = vim.eval('taglist("eval_expr")') < The latter will return a python list of python dicts, for instance: - [{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name': - 'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}] + [{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name': ~ + 'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}] ~ vim.bindeval(str) *python-bindeval* Like |python-eval|, but returns special objects described in @@ -819,7 +819,7 @@ the other one from being available. 11. Python X *python_x* *pythonx* Because most python code can be written so that it works with python 2.6+ and -python 3 the pyx* functions and commands have been writen. They work exactly +python 3 the pyx* functions and commands have been written. They work exactly the same as the Python 2 and 3 variants, but select the Python version using the 'pyxversion' setting. @@ -867,7 +867,7 @@ When compiled with both |+python| and |+ it is not available then Python 2. If 'pyxversion' is 2 or 3, it tests only Python 2 or 3 respectively. -Note that for has('pythonx') to work it may try to dynamically load Python 3 +Note that for `has('pythonx')` to work it may try to dynamically load Python 3 or 2. This may have side effects, especially when Vim can only load one of the two.