original_docstring: Here the index is an int/str. Raises IndexError/KeyError.
docstring: Here the index is an int/str.
docstring_tokens: Here the index is an int / str .
code: def py__simple_getitem__(self, index):
          """Here the index is an int/str. Raises IndexError/KeyError."""
          if isinstance(index, slice):
              return ValueSet([self])
          else:
              with reraise_getitem_errors(TypeError, KeyError, IndexError):
                  node = self.get_tree_entries()[index]
              if node == ':' or node.type == 'subscript':
                  return NO_VALUES
              return self._defining_context.infer_node(node)
code_tokens: def py__simple_getitem__ ( self , index ) : if isinstance ( index , slice ) : return ValueSet ( [ self ] ) else : with reraise_getitem_errors ( TypeError , KeyError , IndexError ) : node = self . get_tree_entries ( ) [ index ] if node == ':' or node . type == 'subscript' : return NO_VALUES return self . _defining_context . infer_node ( node )
short_docstring: Here the index is an int/str.
short_docstring_tokens: Here the index is an int / str .
comment: """Here the index is an int/str. Raises IndexError/KeyError."""