#!/usr/bin/env python
#-*- coding: utf-8 -*-

import sys


class A():
    def a(self):
        print('aa')

    def b(self):
        print('bb')


if __name__ == '__main__':
    a = A()
    func = 'a'
    getattr(a, func)()


a0161aa9dbd40febdedc84e03bae053df86e5ab3
<mask token>


class A:

    def a(self):
        print('aa')
    <mask token>


<mask token>

<mask token>


class A:

    def a(self):
        print('aa')

    def b(self):
        print('bb')


<mask token>

<mask token>


class A:

    def a(self):
        print('aa')

    def b(self):
        print('bb')


if __name__ == '__main__':
    a = A()
    func = 'a'
    getattr(a, func)()

import sys


class A:

    def a(self):
        print('aa')

    def b(self):
        print('bb')


if __name__ == '__main__':
    a = A()
    func = 'a'
    getattr(a, func)()

#!/usr/bin/env python
#-*- coding: utf-8 -*-

import sys


class A():
    def a(self):
        print('aa')

    def b(self):
        print('bb')


if __name__ == '__main__':
    a = A()
    func = 'a'
    getattr(a, func)()

