



class yuanlei(type):
    def __new__(clas,class_name,parent_name,yuansu):

        for key,value in yuansu.items():
            if not key.startswith("__"):
                yuansu[key.upper()] = yuansu.pop(key)

        return type(class_name,parent_name,yuansu)




class test_clase(object,metaclass=yuanlei):
    bar = "bin"

A = test_clase()
print(A.BAR+"你好")
c98bc383f62bd2f4fba0afa2c328624691b091a1
class yuanlei(type):
    <mask token>


class test_clase(object, metaclass=yuanlei):
    bar = 'bin'


<mask token>

class yuanlei(type):

    def __new__(clas, class_name, parent_name, yuansu):
        for key, value in yuansu.items():
            if not key.startswith('__'):
                yuansu[key.upper()] = yuansu.pop(key)
        return type(class_name, parent_name, yuansu)


class test_clase(object, metaclass=yuanlei):
    bar = 'bin'


<mask token>

class yuanlei(type):

    def __new__(clas, class_name, parent_name, yuansu):
        for key, value in yuansu.items():
            if not key.startswith('__'):
                yuansu[key.upper()] = yuansu.pop(key)
        return type(class_name, parent_name, yuansu)


class test_clase(object, metaclass=yuanlei):
    bar = 'bin'


<mask token>
print(A.BAR + '你好')

class yuanlei(type):

    def __new__(clas, class_name, parent_name, yuansu):
        for key, value in yuansu.items():
            if not key.startswith('__'):
                yuansu[key.upper()] = yuansu.pop(key)
        return type(class_name, parent_name, yuansu)


class test_clase(object, metaclass=yuanlei):
    bar = 'bin'


A = test_clase()
print(A.BAR + '你好')





class yuanlei(type):
    def __new__(clas,class_name,parent_name,yuansu):

        for key,value in yuansu.items():
            if not key.startswith("__"):
                yuansu[key.upper()] = yuansu.pop(key)

        return type(class_name,parent_name,yuansu)




class test_clase(object,metaclass=yuanlei):
    bar = "bin"

A = test_clase()
print(A.BAR+"你好")