parent
13f4401259
commit
dd361e63e9
|
@ -81,7 +81,7 @@ class PythonTabber(tab.StackTabber):
|
||||||
# NOTE: yield might initially seem like an endlevel name, but it's not one.
|
# NOTE: yield might initially seem like an endlevel name, but it's not one.
|
||||||
# NOTE: return should be an endlevel name but for now it can't be one.
|
# NOTE: return should be an endlevel name but for now it can't be one.
|
||||||
endlevel_names = ('pass', 'raise', 'break', 'continue')
|
endlevel_names = ('pass', 'raise', 'break', 'continue')
|
||||||
startlevel_names = ('if', 'try', 'class', 'def', 'for', 'while', 'try')
|
startlevel_names = ('if', 'try', 'class', 'def', 'for', 'while', 'try', 'with')
|
||||||
def __init__(self, m):
|
def __init__(self, m):
|
||||||
tab.StackTabber.__init__(self, m)
|
tab.StackTabber.__init__(self, m)
|
||||||
self.base_level = 0
|
self.base_level = 0
|
||||||
|
|
Loading…
Reference in New Issue