parameters: (self, template_name_or_list,
                                 parent=None, globals=None)
return_statement: return self.select_template(template_name_or_list, parent, globals)
docstring: Does a typecheck and dispatches to :meth:`select_template`
          if an iterable of template names is given, otherwise to
          :meth:`get_template`.
  
          .. versionadded:: 2.3
docstring_summary: Does a typecheck and dispatches to :meth:`select_template`
          if an iterable of template names is given, otherwise to
          :meth:`get_template`.
docstring_tokens: Does a typecheck and dispatches to : meth : select_template if an iterable of template names is given otherwise to : meth : get_template .
function: def get_or_select_template(self, template_name_or_list,
                                 parent=None, globals=None):
          """Does a typecheck and dispatches to :meth:`select_template`
          if an iterable of template names is given, otherwise to
          :meth:`get_template`.
  
          .. versionadded:: 2.3
          """
          if isinstance(template_name_or_list, string_types):
              return self.get_template(template_name_or_list, parent, globals)
          elif isinstance(template_name_or_list, Template):
              return template_name_or_list
          return self.select_template(template_name_or_list, parent, globals)
function_tokens: def get_or_select_template ( self , template_name_or_list , parent = None , globals = None ) : if isinstance ( template_name_or_list , string_types ) : return self . get_template ( template_name_or_list , parent , globals ) elif isinstance ( template_name_or_list , Template ) : return template_name_or_list return self . select_template ( template_name_or_list , parent , globals )