tests/call_instance2.py | raw changeset files shortlog |
1.1 --- a/tests/call_instance2.py Sun Apr 05 17:15:59 2009 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,15 +0,0 @@ 1.4 -#!/usr/bin/env python 1.5 - 1.6 -class C: 1.7 - def __call__(self): 1.8 - return "called" 1.9 - 1.10 -class D: 1.11 - def __init__(self, x): 1.12 - self.x = x 1.13 - 1.14 -c = C() 1.15 -d = D(c) 1.16 -d.x() 1.17 - 1.18 -# vim: tabstop=4 expandtab shiftwidth=4