parameters: (self, member_type, element_types=None)
docstring: Initializes the member type and does some correctness
          checks, for your convenience.
docstring_summary: Initializes the member type and does some correctness
          checks, for your convenience.
docstring_tokens: Initializes the member type and does some correctness checks for your convenience .
function: def __init__(self, member_type, element_types=None):
          """
          Initializes the member type and does some correctness
          checks, for your convenience.
          """
          if isinstance(member_type, NyanObject):
              self._member_type = member_type
  
          else:
              self._member_type = MemberType(member_type)
  
          self._element_types = None
          if element_types:
              self._element_types = tuple(element_types)
  
          # check for errors in the initilization
          self._sanity_check()
function_tokens: def __init__ ( self , member_type , element_types = None ) : if isinstance ( member_type , NyanObject ) : self . _member_type = member_type else : self . _member_type = MemberType ( member_type ) self . _element_types = None if element_types : self . _element_types = tuple ( element_types ) # check for errors in the initilization self . _sanity_check ( )