Move KICAD_T[] to std::initializer_list<KICAD_T>.
This commit is contained in:
@@ -143,12 +143,6 @@ HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints)
|
||||
except:
|
||||
self.this = this
|
||||
|
||||
# Convert these to lists to keep users from using them to delete
|
||||
# items in the iterable while looping over it
|
||||
def GetFootprints(self): return list(self.Footprints())
|
||||
def GetDrawings(self): return list(self.Drawings())
|
||||
def GetTracks(self): return list(self.Tracks())
|
||||
|
||||
def Save(self,filename):
|
||||
return SaveBoard(filename,self)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user