Files
openide/python/testData/override/implementationOrder_after.py
Semyon Proshev b0f3e6c20b Methods to implement will be printed in the same order as shown in dialog (PY-25906)
Every of them was inserted after statement list so the last method becomes the first.
The problem is fixed by reverting writing order.
2017-10-19 14:36:23 +03:00

21 lines
244 B
Python

from abc import abstractmethod
class Abstract:
@abstractmethod
def foo(self):
pass
@abstractmethod
def bar(self):
pass
class Impl(Abstract):
def foo(self):
pass
def bar(self):
pass