Files
openide/python/testData/override/docstring_after.py
Semyon Proshev 17f543fdc9 Infer Any return type for abstract methods (PY-29704)
Sync overriding and implementing abstract methods.
Make `PyFunction.getReturnStatementType` accepting only non-null contexts.
2018-07-16 16:54:34 +03:00

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>