def create_autos(self):
     self.nullcar = nullcar = NullCar()
     nullcar.name = 'Unknown'
     return nullcar
示例#2
0
 def create_auto(self):
     self.null = null_car = NullCar()
     self.null.name = 'Null Car'
     return self.null
示例#3
0
 def create_auto(self):
     self.nullcar = nullcar = NullCar()
     nullcar.name = 'Null car'
     return nullcar
示例#4
0
 def create_auto(self):
     self.nullcar = nullcar = NullCar("Unknown")
     nullcar.name = "Unknown"
     return nullcar
 def create_auto(self):
     self._nullcar = NullCar()
     self._nullcar.name = 'Unknown'
     return self._nullcar