On Jan 29, 2008 4:18 AM, christian.heimes <python-3000-checkins@python.org> wrote: > Author: christian.heimes > Date: Tue Jan 29 13:18:50 2008 > New Revision: 60408 > > Modified: python/branches/py3k/Misc/Vim/vim_syntax.py > ============================================================================== > --- python/branches/py3k/Misc/Vim/vim_syntax.py (original) > +++ python/branches/py3k/Misc/Vim/vim_syntax.py Tue Jan 29 13:18:50 2008 > @@ -6,8 +6,9 @@ > import exceptions > import builtins > from string import Template > +from sys import subversion > > -comment_header = '''" Auto-generated Vim syntax file for Python. > +comment_header = '''" Auto-generated Vim syntax file for Python (%s: r%s). > " > " To use: copy or symlink to ~/.vim/syntax/python.vim''' > > @@ -162,7 +163,7 @@ > def main(file_path): > with open(file_path, 'w') as FILE: > # Comment for file > - print>>FILE, comment_header > + print>>FILE, comment_header % subversion[1:] > print>>FILE, '' > # Statements at start of file > print>>FILE, statement_header
It seems we need to run 2to3 over the Misc/Vim directory. Looks like it has never been done. n _______________________________________________ Python-3000-checkins mailing list Python-3000-checkins@python.org http://mail.python.org/mailman/listinfo/python-3000-checkins