python (3.11.7)

(root)/
lib/
python3.11/
test/
doctest_aliases.py
       1  # Used by test_doctest.py.
       2  
       3  class ESC[4;38;5;81mTwoNames:
       4      '''f() and g() are two names for the same method'''
       5  
       6      def f(self):
       7          '''
       8          >>> print(TwoNames().f())
       9          f
      10          '''
      11          return 'f'
      12  
      13      g = f # define an alias for f