| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															2
														 | 
														
															 " Language:	Python 
														 | 
														
															2
														 | 
														
															 " Language:	Python 
														 | 
													
												
													
														| 
															3
														 | 
														
															 " Maintainer:	Dmitry Vasiliev <dima@hlabs.spb.ru> 
														 | 
														
															3
														 | 
														
															 " Maintainer:	Dmitry Vasiliev <dima@hlabs.spb.ru> 
														 | 
													
												
													
														| 
															4
														 | 
														
															 " URL:		http://www.hlabs.spb.ru/vim/python3.0.vim 
														 | 
														
															4
														 | 
														
															 " URL:		http://www.hlabs.spb.ru/vim/python3.0.vim 
														 | 
													
												
													
														| 
															5
														 | 
														
															-" Last Change:	2010-11-11 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															5
														 | 
														
															+" Last Change:	2010-11-14 
														 | 
													
												
													
														| 
															6
														 | 
														
															 " Filenames:	*.py 
														 | 
														
															6
														 | 
														
															 " Filenames:	*.py 
														 | 
													
												
													
														| 
															7
														 | 
														
															-" Version:	3.0.5 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															7
														 | 
														
															+" Version:	3.0.6 
														 | 
													
												
													
														| 
															8
														 | 
														
															 " 
														 | 
														
															8
														 | 
														
															 " 
														 | 
													
												
													
														| 
															9
														 | 
														
															 " Based on python.vim (from Vim 6.1 distribution) 
														 | 
														
															9
														 | 
														
															 " Based on python.vim (from Vim 6.1 distribution) 
														 | 
													
												
													
														| 
															10
														 | 
														
															 " by Neil Schemenauer <nas@python.ca> 
														 | 
														
															10
														 | 
														
															 " by Neil Schemenauer <nas@python.ca> 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															24
														 | 
														
															 "        for the patch with new configuration options 
														 | 
														
															24
														 | 
														
															 "        for the patch with new configuration options 
														 | 
													
												
													
														| 
															25
														 | 
														
															 "    Anton Butanaev 
														 | 
														
															25
														 | 
														
															 "    Anton Butanaev 
														 | 
													
												
													
														| 
															26
														 | 
														
															 "        for the patch fixing bytes literals highlighting 
														 | 
														
															26
														 | 
														
															 "        for the patch fixing bytes literals highlighting 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															27
														 | 
														
															+"        for the patch fixing str.format syntax highlighting 
														 | 
													
												
													
														| 
															27
														 | 
														
															  
														 | 
														
															28
														 | 
														
															  
														 | 
													
												
													
														| 
															28
														 | 
														
															 " 
														 | 
														
															29
														 | 
														
															 " 
														 | 
													
												
													
														| 
															29
														 | 
														
															 " Options: 
														 | 
														
															30
														 | 
														
															 " Options: 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															207
														 | 
														
															 if exists("python_highlight_string_format") && python_highlight_string_format != 0 
														 | 
														
															208
														 | 
														
															 if exists("python_highlight_string_format") && python_highlight_string_format != 0 
														 | 
													
												
													
														| 
															208
														 | 
														
															   " str.format syntax 
														 | 
														
															209
														 | 
														
															   " str.format syntax 
														 | 
													
												
													
														| 
															209
														 | 
														
															   syn match pythonStrFormat "{{\|}}" contained containedin=pythonString,pythonRawString 
														 | 
														
															210
														 | 
														
															   syn match pythonStrFormat "{{\|}}" contained containedin=pythonString,pythonRawString 
														 | 
													
												
													
														| 
															210
														 | 
														
															-  syn match pythonStrFormat	"{\%(\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\d\+\)\%(\.\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_*\)\|\[\%(\d\+\|[^!:\}]\+\)\]\)*\%(![rsa]\)\=\%(:\%({\%(\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\d\+\)}\|\%([^}]\=[<>=^]\)\=[ +-]\=#\=0\=\d*\%(\.\d\+\)\=[bcdeEfFgGnoxX%]\=\)\=\)\=}" contained containedin=pythonString,pythonRawString 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															211
														 | 
														
															+  syn match pythonStrFormat	"{\%(\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\d\+\)\=\%(\.\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\[\%(\d\+\|[^!:\}]\+\)\]\)*\%(![rsa]\)\=\%(:\%({\%(\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\d\+\)}\|\%([^}]\=[<>=^]\)\=[ +-]\=#\=0\=\d*,\=\%(\.\d\+\)\=[bcdeEfFgGnosxX%]\=\)\=\)\=}" contained containedin=pythonString,pythonRawString 
														 | 
													
												
													
														| 
															211
														 | 
														
															 endif 
														 | 
														
															212
														 | 
														
															 endif 
														 | 
													
												
													
														| 
															212
														 | 
														
															  
														 | 
														
															213
														 | 
														
															  
														 | 
													
												
													
														| 
															213
														 | 
														
															 if exists("python_highlight_string_templates") && python_highlight_string_templates != 0 
														 | 
														
															214
														 | 
														
															 if exists("python_highlight_string_templates") && python_highlight_string_templates != 0 
														 |