class_docstr: Sorted keys view is a dynamic view of the sorted dict's keys.
  
  When the sorted dict's keys change, the view reflects those changes.
  
  The keys view implements the set and sequence abstract base classes.
class_docstr_tok: ["Sorted","keys","view","is","a","dynamic","view","of","the","sorted","dict","'s","keys",".","When","the","sorted","dict","'s","keys","change",",","the","view","reflects","those","changes",".","The","keys","view","implements","the","set","and","sequence","abstract","base","classes","."]
docstr: Lookup key at `index` in sorted keys views.
  
  ``skv.__getitem__(index)`` <==> ``skv[index]``
  
  Supports slicing.
  
  Runtime complexity: `O(log(n))` -- approximate.
  
  >>> sd = SortedDict({'a': 1, 'b': 2, 'c': 3})
  >>> skv = sd.keys()
  >>> skv[0]
  'a'
  >>> skv[-1]
  'c'
  >>> skv[:]
  ['a', 'b', 'c']
  >>> skv[100]
  Traceback (most recent call last):
    ...
  IndexError: list index out of range
  
  :param index: integer or slice for indexing
  :return: key or list of keys
  :raises IndexError: if index out of range
docstr_tok: ["Lookup","key","at","`","index","`","in","sorted","keys","views",".","``","skv.__getitem__","(","index",")","``","<","==",">","``","skv","[","index","]","``","Supports","slicing",".","Runtime","complexity",":","`","O","(","log","(","n",")",")","`","--","approximate",".",">",">",">","sd","=","SortedDict","(","{","'","a","'",":","1",",","'","b","'",":","2",",","'","c","'",":","3","}",")",">",">",">","skv","=","sd.keys","(",")",">",">",">","skv","[","0","]","'","a'",">",">",">","skv","[","-1","]","'","c'",">",">",">","skv","[",":","]","[","'","a","'",",","'","b","'",",","'","c","'","]",">",">",">","skv","[","100","]","Traceback","(","most","recent","call","last",")",":","...","IndexError",":","list","index","out","of","range",":","param","index",":","integer","or","slice","for","indexing",":","return",":","key","or","list","of","keys",":","raises","IndexError",":","if","index","out","of","range"]
code: def __getitem__(self, index):
      """Lookup key at `index` in sorted keys views.
  
      ``skv.__getitem__(index)`` <==> ``skv[index]``
  
      Supports slicing.
  
      Runtime complexity: `O(log(n))` -- approximate.
  
      >>> sd = SortedDict({'a': 1, 'b': 2, 'c': 3})
      >>> skv = sd.keys()
      >>> skv[0]
      'a'
      >>> skv[-1]
      'c'
      >>> skv[:]
      ['a', 'b', 'c']
      >>> skv[100]
      Traceback (most recent call last):
        ...
      IndexError: list index out of range
  
      :param index: integer or slice for indexing
      :return: key or list of keys
      :raises IndexError: if index out of range
  
      """
      return self._mapping._list[index]
  
imports: import sys
  import warnings
  from itertools import chain
  from .sortedlist import SortedList, recursive_repr
  from .sortedset import SortedSet
label_desc: Use image node_id 2 for calling the SortedKeysView obj's underlying member method code with example usage: obj.__getitem__(index) and returns: self