> For the complete documentation index, see [llms.txt](https://igor-19.gitbook.io/qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://igor-19.gitbook.io/qa/avtomatizaciya-testirovaniya/python/oop-v-python-vo-vsekh-podrobnostyakh/abstraktnyi-klass-nasleduetsya-ot-abstraktnogo-klassa.md).

# Абстрактный класс наследуется от абстрактного класса

```python
from abc import ABCMeta, abstractmethod

class OriginalAbstractclass(metaclass=ABCMeta):
    @abstractmethod
    def sample_method(self):
        pass


class InheritedAbstractClass(OriginalAbstractclass, metaclass=ABCMeta):
    @abstractmethod
    def another_method(self):
        pass

class ConcreteClass(InheritedAbstractClass):
    def some_method(self):
        pass

    def another_method(self):
        pass
12345678910111213141516171819
```

<br>
