Files
openide/python/testData/refactoring/extractsuperclass/instanceNotDeclaredInInit.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

9 lines
134 B
Python

class Parent(object):
def __init__(self):
self.eggs = 12
class Child(Parent):
def foo(self):
self.eggs = 12