Skip to content
masterclass Buddy

Python · Function

issubclass

issubclass() tests whether one class is a subclass of another. It can also test against several classes supplied in a tuple or union type.

Last updated

Syntax

issubclass(cls, classinfo, /)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • isinstance()
  • type()
  • super()

Source: Built-in Functions — Python 3.15.2 documentation. Checked 2026-11-03.