📜  python new - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:02.581000             🧑  作者: Mango

代码示例1
class class_name:
    def __new__(cls, *args, **kwargs):
        statements
        .
        .
        return super(class_name, cls).__new__(cls, *args, **kwargs)