comparison runtime/doc/if_pyth.txt @ 4073:e362db8b2d7b

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Wed, 30 Jan 2013 14:18:00 +0100
parents 1003f9b262d7
children 058f26a834c4
comparison
equal deleted inserted replaced
4072:37438facb5eb 4073:e362db8b2d7b
1 *if_pyth.txt* For Vim version 7.3. Last change: 2012 Sep 23 1 *if_pyth.txt* For Vim version 7.3. Last change: 2013 Jan 30
2 2
3 3
4 VIM REFERENCE MANUAL by Paul Moore 4 VIM REFERENCE MANUAL by Paul Moore
5 5
6 6
52 def __call__(self): 52 def __call__(self):
53 print 'EAT ME' 53 print 'EAT ME'
54 EOF 54 EOF
55 endfunction 55 endfunction
56 < 56 <
57 Note: Python is very sensitive to the indenting. Also make sure the "class" 57 Note: Python is very sensitive to the indenting. Make sure the "class" line
58 line and "EOF" do not have any indent. 58 and "EOF" do not have any indent.
59 59
60 *:pyfile* *:pyf* 60 *:pyfile* *:pyf*
61 :[range]pyf[ile] {file} 61 :[range]pyf[ile] {file}
62 Execute the Python script in {file}. The whole 62 Execute the Python script in {file}. The whole
63 argument is used as a single file name. {not in Vi} 63 argument is used as a single file name. {not in Vi}