Exceptions raised during renaming in rotating file handlers are now passed to handleE...
[python.git] / Lib / test / doctest_aliases.py
blobe6e5ca9551900cd512fce1c0eb9f05e6d03e802c
1 # Used by test_doctest.py.
3 class TwoNames:
4 '''f() and g() are two names for the same method'''
6 def f(self):
7 '''
8 >>> print TwoNames().f()
10 '''
11 return 'f'
13 g = f # define an alias for f