class DogCk(object):
    __flg = None

    def __init__(self, name):
        self.name = name

    def __new__(cls, name):
        if DogCk.__flg == None:
            DogCk.__flg = object.__new__(cls)
        return DogCk.__flg


a = DogCk('ck')
b = DogCk('ck')
print(id(a))
print(id(b))

1b5da7fdcacbbbc2a8d9a18778219e6ebbc052cb
class DogCk(object):
    <mask token>

    def __init__(self, name):
        self.name = name

    def __new__(cls, name):
        if DogCk.__flg == None:
            DogCk.__flg = object.__new__(cls)
        return DogCk.__flg


<mask token>

class DogCk(object):
    __flg = None

    def __init__(self, name):
        self.name = name

    def __new__(cls, name):
        if DogCk.__flg == None:
            DogCk.__flg = object.__new__(cls)
        return DogCk.__flg


<mask token>

class DogCk(object):
    __flg = None

    def __init__(self, name):
        self.name = name

    def __new__(cls, name):
        if DogCk.__flg == None:
            DogCk.__flg = object.__new__(cls)
        return DogCk.__flg


<mask token>
print(id(a))
print(id(b))

class DogCk(object):
    __flg = None

    def __init__(self, name):
        self.name = name

    def __new__(cls, name):
        if DogCk.__flg == None:
            DogCk.__flg = object.__new__(cls)
        return DogCk.__flg


a = DogCk('ck')
b = DogCk('ck')
print(id(a))
print(id(b))
