def __init__(self, val):

        self.val = val
val -> _TestClass object with associated value val.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/test/_doctest.py/_TestClass.__init__