class X:
    __a=1000
    def __m1(self):
        print("in m1 of x")
    def display(self):
        print(X.__a)
        self.__m1()
x1 = X()
x1.display()
# print(_X__m1())
x1._X__m1()

4e04b2fbc7d3049c6f24aad585dbe77b051c3d3a
class X:
    <mask token>

    def __m1(self):
        print('in m1 of x')

    def display(self):
        print(X.__a)
        self.__m1()


<mask token>

class X:
    __a = 1000

    def __m1(self):
        print('in m1 of x')

    def display(self):
        print(X.__a)
        self.__m1()


<mask token>

class X:
    __a = 1000

    def __m1(self):
        print('in m1 of x')

    def display(self):
        print(X.__a)
        self.__m1()


<mask token>
x1.display()
x1._X__m1()

class X:
    __a = 1000

    def __m1(self):
        print('in m1 of x')

    def display(self):
        print(X.__a)
        self.__m1()


x1 = X()
x1.display()
x1._X__m1()

class X:
    __a=1000
    def __m1(self):
        print("in m1 of x")
    def display(self):
        print(X.__a)
        self.__m1()
x1 = X()
x1.display()
# print(_X__m1())
x1._X__m1()
