Mercurial > vim
comparison runtime/doc/if_pyth.txt @ 10942:e05695e59f6d v8.0.0360
patch 8.0.0360: sometimes VimL is used instead of "Vim script"
commit https://github.com/vim/vim/commit/b544f3c81f1e6a50322855681ac266ffaa8e313c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 23 19:03:28 2017 +0100
patch 8.0.0360: sometimes VimL is used instead of "Vim script"
Problem: Sometimes VimL is used, which is confusing.
Solution: Consistently use "Vim script". (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 23 Feb 2017 19:15:05 +0100 |
parents | c391bfbdb452 |
children | 1218c5353e2b |
comparison
equal
deleted
inserted
replaced
10941:56b3c9414c82 | 10942:e05695e59f6d |
---|---|
674 |deepcopy()|). | 674 |deepcopy()|). |
675 self `None` or a |python-Dictionary| object with self | 675 self `None` or a |python-Dictionary| object with self |
676 dictionary. Note that explicit `self` keyword used when | 676 dictionary. Note that explicit `self` keyword used when |
677 calling resulting object overrides this attribute. | 677 calling resulting object overrides this attribute. |
678 auto_rebind Boolean. True if partial created from this Python object | 678 auto_rebind Boolean. True if partial created from this Python object |
679 and stored in the VimL dictionary should be automatically | 679 and stored in the Vim script dictionary should be |
680 rebound to the dictionary it is stored in when this | 680 automatically rebound to the dictionary it is stored in |
681 dictionary is indexed. Exposes Vim internal difference | 681 when this dictionary is indexed. Exposes Vim internal |
682 between `dict.func` (auto_rebind=True) and | 682 difference between `dict.func` (auto_rebind=True) and |
683 `function(dict.func,dict)` (auto_rebind=False). This | 683 `function(dict.func,dict)` (auto_rebind=False). This |
684 attribute makes no sense if `self` attribute is `None`. | 684 attribute makes no sense if `self` attribute is `None`. |
685 | 685 |
686 Constructor additionally accepts `args`, `self` and `auto_rebind` | 686 Constructor additionally accepts `args`, `self` and `auto_rebind` |
687 keywords. If `args` and/or `self` argument is given then it constructs | 687 keywords. If `args` and/or `self` argument is given then it constructs |
688 a partial, see |function()|. `auto_rebind` is only used when `self` | 688 a partial, see |function()|. `auto_rebind` is only used when `self` |
709 | 709 |
710 ============================================================================== | 710 ============================================================================== |
711 8. pyeval() and py3eval() Vim functions *python-pyeval* | 711 8. pyeval() and py3eval() Vim functions *python-pyeval* |
712 | 712 |
713 To facilitate bi-directional interface, you can use |pyeval()| and |py3eval()| | 713 To facilitate bi-directional interface, you can use |pyeval()| and |py3eval()| |
714 functions to evaluate Python expressions and pass their values to VimL. | 714 functions to evaluate Python expressions and pass their values to Vim script. |
715 |pyxeval()| is also available. | 715 |pyxeval()| is also available. |
716 | 716 |
717 ============================================================================== | 717 ============================================================================== |
718 9. Dynamic loading *python-dynamic* | 718 9. Dynamic loading *python-dynamic* |
719 | 719 |