默认构造函数

类 / 构造函数

class Man:
    pass


man = Man()

# Without __init__ it takes no arguments
try:
    Man("Alex")
except TypeError as error:
    print(f"{error = }")