tests/loop_while_in_class.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/loop_while_in_class.py Sun Jun 14 23:17:22 2009 +0200 1.3 @@ -0,0 +1,14 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +class C: 1.7 + value = "hello" 1.8 + x = 10 1.9 + y = 0 1.10 + while x > 0: 1.11 + y += 1 1.12 + x = x - 1 1.13 + 1.14 +result_0 = C.x 1.15 +result_10 = C.y 1.16 + 1.17 +# vim: tabstop=4 expandtab shiftwidth=4