Mercurial > vim
diff runtime/doc/if_pyth.txt @ 3750:536aa8b0c934
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 15 Aug 2012 17:43:31 +0200 |
parents | 11d40fc82f11 |
children | 04592728474a |
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 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 @@ 1. Commands *python-commands* *: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 "pyt 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|.