code: def py__getitem__(self, index):
      if type(self._obj) not in (
          str,
          list,
          tuple,
          unicode,
          bytes,
          bytearray,
          dict,
      ):
          # Get rid of side effects, we won't call custom `__getitem__`s.
          return None
  
      return self._create_access_path(self._obj[index])
  
imports: import inspect
  import types
  import sys
  from textwrap import dedent
  import operator
  from collections import namedtuple
  from jedi._compatibility import unicode, is_py3, builtins, py_version, force_unicode, print_to_stderr
  from jedi.evaluate.compiled.getattr_static import getattr_static
label_desc: Use image node_id 10 for calling the DirectObjectAccess obj's underlying member method code with example usage: obj.py__getitem__(index) and returns: self, None