Exemple #1
0
 def __init__(self, color=None, brand=None, year=None):
   Indexable.__init__(self)
   self.color = color
   self.brand = brand
   self.year = year
 def __init__(self, kind, color, owner):
   Indexable.__init__(self)
   self.kind = kind
   self.color = color
   self.owner = owner
 def __init__(self, name, college, professor):
   Indexable.__init__(self)
   self.name = name
   self.college = college
   self.professor = professor
 def __init__(self, title, body, author):
   Indexable.__init__(self)
   self.title = title
   self.body = body
   self.author = author
Exemple #5
0
 def __init__(self, kind="", color="", mammal=False):
   Indexable.__init__(self)
   self.kind = kind
   self.color = color
   self.mammal = mammal
Exemple #6
0
 def __init__(self, name=None, age=None, firstName=None):
   Indexable.__init__(self)
   self.name = name
   self.age = age
   self.firstName = firstName