python constant
LanguageInfo
const python
The information provided by linguist about the "Python" language or content type.
Implementation
static const LanguageInfo python = LanguageInfo(
name: 'Python',
type: LanguageType.programming,
aliases: [
'python3',
'rusthon',
],
extensions: [
'.py',
'.cgi',
'.fcgi',
'.gyp',
'.gypi',
'.lmi',
'.py3',
'.pyde',
'.pyi',
'.pyp',
'.pyt',
'.pyw',
'.rpy',
'.spec',
'.tac',
'.wsgi',
'.xpy',
],
filenames: [
'.gclient',
'DEPS',
'SConscript',
'SConstruct',
'wscript',
],
interpreters: [
'python',
'python2',
'python3',
'py',
'pypy',
'pypy3',
],
linguistColor: '#3572A5',
aceMode: 'python',
codeMirrorMode: 'python',
codeMirrorMimeType: 'text/x-python',
textMateScope: 'source.python',
);