Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > d92aa75c2d384ff9f513aed09a46f703 > files > 508

parrot-doc-3.1.0-2.mga1.i586.rpm

# Copyright (C) 2004-2011, Parrot Foundation.
class Foo:
    def __init__(self):
	self.i = 10
	self.j = 20

    def I(self):
	return self.i
    def J(self):
	return self.j

class main:
    o = Foo()
    for i in range(1,500001):
	x = o.I()
	y = o.J()
    print o.I()