def get_items(*indexes):
return lambda obj: tuple(<EOL>obj[index] if len(obj) > index else None for index in indexes<EOL>)<EOL>
Return a callable that fetches the given indexes of an object
    Always return a tuple even when len(indexes) == 1.

    Similar to `operator.itemgetter`, but will insert `None` when the object
    does not have the desired index (instead of raising IndexError).