mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
Unless this indentation is going to break existing block structure, e.g. by splitting the containing function in the middle. Additionally I improved detection of an empty statement list when the caret is at the end of file.
13 lines
243 B
Python
13 lines
243 B
Python
# original function # this is line 1 of the code.
|
|
def foo():
|
|
print 'f00'
|
|
def bar(num):
|
|
for _ in range(num):
|
|
print 'bar'
|
|
bar(7)
|
|
|
|
def bar(num):
|
|
for _ in range(num):
|
|
print 'bar'
|
|
bar(7)
|