Skip to content

Commit 19dc22d

Browse files
committed
Added new and removed old builtins
1 parent 4954174 commit 19dc22d

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

CHANGES.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
Revision 3.0.0 (2008-09-?):
2+
3+
- Added new builtins introduced in Python 2.6: "ascii", "exec",
4+
"memoryview", "print";
5+
- Removed builtins: "apply", "basestring", "buffer", "callable", "coerce",
6+
"execfile", "file", "help", "intern", "long", "raw_input", "reduce",
7+
"reload", "unichr", "unicode", "xrange";
8+
19
Revision 2.6.2 (2008-09-?):
210

311
- Added support for b"..." syntax;

python3.0.vim

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -228,20 +228,19 @@ if exists("python_highlight_builtins") && python_highlight_builtins != 0
228228
syn keyword pythonBuiltinObj True False Ellipsis None NotImplemented
229229
syn keyword pythonBuiltinObj __debug__ __doc__ __file__ __name__ __package__
230230

231-
syn keyword pythonBuiltinFunc __import__ abs all any apply
232-
syn keyword pythonBuiltinFunc basestring bin bool buffer bytearray bytes callable
233-
syn keyword pythonBuiltinFunc chr classmethod cmp coerce compile complex
231+
syn keyword pythonBuiltinFunc __import__ abs all any ascii
232+
syn keyword pythonBuiltinFunc bin bool bytearray bytes
233+
syn keyword pythonBuiltinFunc chr classmethod cmp compile complex
234234
syn keyword pythonBuiltinFunc delattr dict dir divmod enumerate eval
235-
syn keyword pythonBuiltinFunc execfile file filter float format frozenset getattr
236-
syn keyword pythonBuiltinFunc globals hasattr hash help hex id
237-
syn keyword pythonBuiltinFunc input int intern isinstance
238-
syn keyword pythonBuiltinFunc issubclass iter len list locals long map max
239-
syn keyword pythonBuiltinFunc min next object oct open ord
240-
syn keyword pythonBuiltinFunc pow property range
241-
syn keyword pythonBuiltinFunc raw_input reduce reload repr
242-
syn keyword pythonBuiltinFunc reversed round set setattr
235+
syn keyword pythonBuiltinFunc exec filter float format frozenset getattr
236+
syn keyword pythonBuiltinFunc globals hasattr hash hex id
237+
syn keyword pythonBuiltinFunc input int isinstance
238+
syn keyword pythonBuiltinFunc issubclass iter len list locals map max
239+
syn keyword pythonBuiltinFunc memoryview min next object oct open ord
240+
syn keyword pythonBuiltinFunc pow print property range
241+
syn keyword pythonBuiltinFunc repr reversed round set setattr
243242
syn keyword pythonBuiltinFunc slice sorted staticmethod str sum super tuple
244-
syn keyword pythonBuiltinFunc type unichr unicode vars xrange zip
243+
syn keyword pythonBuiltinFunc type vars zip
245244

246245
if exists("python_print_as_function") && python_print_as_function != 0
247246
syn keyword pythonBuiltinFunc print

0 commit comments

Comments
 (0)