used by testdoctest py f and g are two names for the same method def fself return f g f define an alias for f used by test_doctest py f and g are two names for the same method print twonames f f define an alias for f
class TwoNames:
    

    def f(self):
        
        return 'f'

    g = f