mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
Sync overriding and implementing abstract methods. Make `PyFunction.getReturnStatementType` accepting only non-null contexts.
15 lines
214 B
Python
15 lines
214 B
Python
from abc import abstractmethod
|
|
|
|
|
|
class Abstract(object):
|
|
|
|
@abstractmethod
|
|
def foo(self, bar):
|
|
pass
|
|
|
|
|
|
class Concrete(Abstract):
|
|
"""The docstring."""
|
|
|
|
def foo(self, bar):
|
|
<selection>pass</selection> |