ยปCore Development>Code coverage>Lib/test/doctest_aliases.py

Python code coverage for Lib/test/doctest_aliases.py

#countcontent
1n/a# Used by test_doctest.py.
2n/a
3n/aclass TwoNames:
4n/a '''f() and g() are two names for the same method'''
5n/a
6n/a def f(self):
7n/a '''
8n/a >>> print(TwoNames().f())
9n/a f
10n/a '''
11n/a return 'f'
12n/a
13n/a g = f # define an alias for f