tests/instance.py | raw changeset files shortlog |
1.1 --- a/tests/instance.py Wed Aug 27 00:45:14 2008 +0200 1.2 +++ b/tests/instance.py Mon Sep 01 01:32:32 2008 +0200 1.3 @@ -11,8 +11,18 @@ 1.4 def __init__(self, x): 1.5 pass 1.6 1.7 +class F: 1.8 + def __init__(self, x=1): 1.9 + pass 1.10 + 1.11 c = C() 1.12 +X = C 1.13 +x = X() 1.14 d = D() 1.15 e = E(1) 1.16 +f = F() 1.17 +f = F(2) 1.18 +X = F 1.19 +x = X() 1.20 1.21 # vim: tabstop=4 expandtab shiftwidth=4