Files
openide/python/testData/refactoring/extractsuperclass/fieldsNpe.after.py
Mikhail Golubev 30c586b5a1 PY-19705 Add an option for blanks between class header and its first method
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.
2017-09-04 16:41:35 +03:00

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()