parent
fb79f41c38
commit
2fe2018158
|
@ -562,7 +562,7 @@ class Python(mode.Fundamental):
|
|||
name = 'Python'
|
||||
extensions = ['.py']
|
||||
#detection = ['python']
|
||||
detection = [re.compile('^#!(?:.+/)python')]
|
||||
detection = [re.compile('^#!(?:.+[/ ])python')]
|
||||
tabbercls = PythonTabber
|
||||
grammar = PythonGrammar
|
||||
opentokens = ('delimiter',)
|
||||
|
|
Loading…
Reference in New Issue