File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 11Revision 3.0.0 (2008-09-?):
22
3+ - Removed trailing 'L' support for all numbers;
34 - Updated support for str.format;
45 - Added new builtins introduced in Python 2.6: "ascii", "exec",
56 "memoryview", "print";
Original file line number Diff line number Diff line change 11Now
22===
33
4- - (Python 3.0) support for b"..." syntax and remove u"..." syntax ;
4+ - (Python 3.0) non-ASCII identifiers ;
55
6- - (Python 3.0) add new bultins and exceptions ;
6+ - (Python 3.0) support for b"..." syntax and remove u"..." syntax ;
77
88Later
99=====
Original file line number Diff line number Diff line change @@ -211,20 +211,20 @@ if exists("python_highlight_doctests") && python_highlight_doctests != 0
211211endif
212212
213213" Numbers (ints, longs, floats, complex)
214- syn match pythonHexError " \< 0[xX]\x *[g-zG-Z]\x *[lL] \= \>" display
214+ syn match pythonHexError " \< 0[xX]\x *[g-zG-Z]\x *\> " display
215215
216- syn match pythonHexNumber " \< 0[xX]\x\+ [lL] \= \>" display
217- syn match pythonOctNumber " \< 0[oO]\o\+ [lL] \= \>" display
218- syn match pythonBinNumber " \< 0[bB][01]\+ [lL] \= \>" display
216+ syn match pythonHexNumber " \< 0[xX]\x\+\> " display
217+ syn match pythonOctNumber " \< 0[oO]\o\+\> " display
218+ syn match pythonBinNumber " \< 0[bB][01]\+\> " display
219219
220- syn match pythonNumber " \<\d\+ [lLjJ ]\=\> " display
220+ syn match pythonNumber " \<\d\+ [jJ ]\=\> " display
221221
222222syn match pythonFloat " \.\d\+\( [eE][+-]\=\d\+\)\= [jJ]\=\> " display
223223syn match pythonFloat " \<\d\+ [eE][+-]\=\d\+ [jJ]\=\> " display
224224syn match pythonFloat " \<\d\+\.\d *\( [eE][+-]\=\d\+\)\= [jJ]\= " display
225225
226- syn match pythonOctError " \< 0[oO]\=\o *[8-9]\d *[lL] \= \>" display
227- syn match pythonBinError " \< 0[bB][01]*[2-9]\d *[lL] \= \>" display
226+ syn match pythonOctError " \< 0[oO]\=\o *[8-9]\d *\> " display
227+ syn match pythonBinError " \< 0[bB][01]*[2-9]\d *\> " display
228228
229229if exists (" python_highlight_builtins" ) && python_highlight_builtins != 0
230230 " Builtin functions, types and objects
You can’t perform that action at this time.
0 commit comments