mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
On the whole, we don't touch these blank lines (as opposed to deleting them previously) unless they exceed the limit specified in settings (Keep maximum blank lines in declarations). If someone wants to always put a blank line before the first method, as in PY-1765, they can use this new option.
13 lines
206 B
Python
13 lines
206 B
Python
class Ancestor(object):
|
|
def __init__(self, a, b):
|
|
self.a = a
|
|
self.b = b
|
|
|
|
def func1(self):
|
|
return ""
|
|
|
|
|
|
class Basic(Ancestor):
|
|
|
|
def func2(self):
|
|
return self.func1() |