parameters: (self, polygons, pens=None, brushes=None)
return_statement: return self._DrawPolygonList(polygons, pens, brushes)
docstring: Draw a list of polygons, each of which is a list of points.
  
              :param polygons: A sequence of sequences of sequences.
                               [[(x1,y1),(x2,y2),(x3,y3)...],
                               [(x1,y1),(x2,y2),(x3,y3)...]]
                                
              :param pens:    If None, then the current pen is used.  If a
                              single pen then it will be used for all polygons.
                              If a list of pens then there should be one for each 
                              polygon.
              :param brushes: A brush or brushes to be used to fill the polygons,
                              with similar semantics as the pens parameter.
docstring_summary: Draw a list of polygons, each of which is a list of points.
docstring_tokens: Draw a list of polygons each of which is a list of points .
function: def DrawPolygonList(self, polygons, pens=None, brushes=None):
          """
          Draw a list of polygons, each of which is a list of points.
  
              :param polygons: A sequence of sequences of sequences.
                               [[(x1,y1),(x2,y2),(x3,y3)...],
                               [(x1,y1),(x2,y2),(x3,y3)...]]
                                
              :param pens:    If None, then the current pen is used.  If a
                              single pen then it will be used for all polygons.
                              If a list of pens then there should be one for each 
                              polygon.
              :param brushes: A brush or brushes to be used to fill the polygons,
                              with similar semantics as the pens parameter.
          """
          if pens is None:
             pens = []
          elif isinstance(pens, wx.Pen):
             pens = [pens]
          elif len(pens) != len(polygons):
             raise ValueError('polygons and pens must have same length')
          if brushes is None:
             brushes = []
          elif isinstance(brushes, wx.Brush):
             brushes = [brushes]
          elif len(brushes) != len(polygons):
             raise ValueError('polygons and brushes must have same length')
          return self._DrawPolygonList(polygons, pens, brushes)
function_tokens: def DrawPolygonList ( self , polygons , pens = None , brushes = None ) : if pens is None : pens = [ ] elif isinstance ( pens , wx . Pen ) : pens = [ pens ] elif len ( pens ) != len ( polygons ) : raise ValueError ( 'polygons and pens must have same length' ) if brushes is None : brushes = [ ] elif isinstance ( brushes , wx . Brush ) : brushes = [ brushes ] elif len ( brushes ) != len ( polygons ) : raise ValueError ( 'polygons and brushes must have same length' ) return self . _DrawPolygonList ( polygons , pens , brushes )