Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def append_unit(self):
self.is_intersections.append()
self.units.append(self.Unit())
self.labels.append(0)
return self.is_intersections.get_size() - 1
def append_unit(self):
self.is_intersections.append()
self.units.append(self.Unit())
self.labels.append(0)
return self.is_intersections.get_size() - 1