tests/failure/instance_initialisation_incomplete.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/failure/instance_initialisation_incomplete.py Mon Oct 26 00:26:07 2009 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +class C: 1.7 + pass 1.8 + 1.9 +class D: 1.10 + def __init__(self): 1.11 + pass 1.12 + 1.13 +class E: 1.14 + def __init__(self, x): 1.15 + pass 1.16 + 1.17 +c = C() 1.18 +d = D() 1.19 +e = E() 1.20 + 1.21 +# vim: tabstop=4 expandtab shiftwidth=4