parameters: (self, obj)
return_statement: return self.save_reduce(operator.itemgetter, items)
docstring: itemgetter serializer (needed for namedtuple support)
docstring_summary: itemgetter serializer (needed for namedtuple support)
docstring_tokens: itemgetter serializer ( needed for namedtuple support )
function: def save_itemgetter(self, obj):
          """itemgetter serializer (needed for namedtuple support)"""
          class Dummy:
              def __getitem__(self, item):
                  return item
          items = obj(Dummy())
          if not isinstance(items, tuple):
              items = (items, )
          return self.save_reduce(operator.itemgetter, items)
function_tokens: def save_itemgetter ( self , obj ) : class Dummy : def __getitem__ ( self , item ) : return item items = obj ( Dummy ( ) ) if not isinstance ( items , tuple ) : items = ( items , ) return self . save_reduce ( operator . itemgetter , items )