diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-08-15 17:43:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-08-15 17:43:31 +0200 |
commit | 9b4512500adfab4d44e957329d1a89e97e9a3930 (patch) | |
tree | afb71cc9c0ca20c627152976791923513e69afff /runtime/doc/if_pyth.txt | |
parent | dd82d699c8cb3e60b2da968fb40622dc497f71ca (diff) | |
download | vim-git-9b4512500adfab4d44e957329d1a89e97e9a3930.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/doc/if_pyth.txt')
-rw-r--r-- | runtime/doc/if_pyth.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index 31a0d07f9..4bdacf66f 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 7.3. Last change: 2012 Feb 04 +*if_pyth.txt* For Vim version 7.3. Last change: 2012 Aug 02 VIM REFERENCE MANUAL by Paul Moore @@ -27,7 +27,9 @@ The Python 3 interface is available only when Vim was compiled with the *:python* *:py* *E205* *E263* *E264* :[range]py[thon] {stmt} - Execute Python statement {stmt}. + Execute Python statement {stmt}. A simple check if + the `:python` command is working: > + :python print "Hello" :[range]py[thon] << {endmarker} {script} @@ -362,8 +364,10 @@ sure edit "gvim.exe" and search for "python\d*.dll\c". 8. Python 3 *python3* *:py3* *:python3* -The |:py3| and |:python3| commands work similar to |:python|. - *:py3file* +The |:py3| and |:python3| commands work similar to |:python|. A simple check +if the `:py3` command is wrong: > + :py3 print("Hello") +< *:py3file* The |:py3file| command works similar to |:pyfile|. |