tests/instance_initialisation.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/instance_initialisation.py Sun Jun 14 01:18:05 2009 +0200 1.3 @@ -0,0 +1,10 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +class D: 1.7 + def __init__(self): 1.8 + self.x = 222 1.9 + 1.10 +d = D() 1.11 +result_222 = d.x 1.12 + 1.13 +# vim: tabstop=4 expandtab shiftwidth=4