summaryrefslogtreecommitdiff
path: root/sandbox/tibs/pysource/test/testsimp.py
blob: 7dfeb420243abdce4cd429abdffaf452a7d87e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
a = 'b'
class Fred:
    """A *silly* demonstration."""

    def __init__(self, b=1, c='jim', d=None, f={'a':1,a:1},
                 g=[x for x in [1,2,3] if x > 2]):
        """Initialise ourselves."""
        self.list = g

    def __call__(self,a):
        """Call ourselves."""
        pass