Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
test.doctest_aliases.TwoNames Class Reference

List of all members.

Public Member Functions

def f

Static Public Attributes

 g = f

Detailed Description

f() and g() are two names for the same method

Definition at line 3 of file doctest_aliases.py.


Member Function Documentation

>>> print(TwoNames().f())
f

Definition at line 6 of file doctest_aliases.py.

00006 
00007     def f(self):
00008         '''
00009         >>> print(TwoNames().f())
00010         f
00011         '''
00012         return 'f'

Here is the caller graph for this function:


Member Data Documentation

Definition at line 13 of file doctest_aliases.py.


The documentation for this class was generated from the following file: