ID EN
Built-in Types

__name__

Python 3.11

The name of the class, function, method, descriptor, or generator instance.

Syntax

PYTHON
definition.__name__