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