parameters: (self, pid=None)
docstring: Print the hulls buildable on each planet.
  
          :param pid: None, int or list of ints
docstring_summary: Print the hulls buildable on each planet.
docstring_tokens: Print the hulls buildable on each planet .
function: def print_hulls_for_planets(self, pid=None):
          """Print the hulls buildable on each planet.
  
          :param pid: None, int or list of ints
          """
          if pid is None:
              planets = list(self.hulls_for_planets)
          elif isinstance(pid, int):
              planets = [pid]
          elif isinstance(pid, list):
              planets = pid
          else:
              error("Invalid parameter 'pid' for 'print_hulls_for_planets'. Expected int, list or None.")
              return
          debug("Hull-cache:")
          get_planet = fo.getUniverse().getPlanet
          for pid in planets:
              debug("%s: %s" % (get_planet(pid).name, self.hulls_for_planets[pid]))
function_tokens: def print_hulls_for_planets ( self , pid = None ) : if pid is None : planets = list ( self . hulls_for_planets ) elif isinstance ( pid , int ) : planets = [ pid ] elif isinstance ( pid , list ) : planets = pid else : error ( "Invalid parameter 'pid' for 'print_hulls_for_planets'. Expected int, list or None." ) return debug ( "Hull-cache:" ) get_planet = fo . getUniverse ( ) . getPlanet for pid in planets : debug ( "%s: %s" % ( get_planet ( pid ) . name , self . hulls_for_planets [ pid ] ) )