class_docstr: Sorted dict is a sorted mutable mapping.
  
  Sorted dict keys are maintained in sorted order. The design of sorted dict
  is simple: sorted dict inherits from dict to store items and maintains a
  sorted list of keys.
  
  Sorted dict keys must be hashable and comparable. The hash and total
  ordering of keys must not change while they are stored in the sorted dict.
  
  Mutable mapping methods:
  
  * :func:`SortedDict.__getitem__` (inherited from dict)
  * :func:`SortedDict.__setitem__`
  * :func:`SortedDict.__delitem__`
  * :func:`SortedDict.__iter__`
  * :func:`SortedDict.__len__` (inherited from dict)
  
  Methods for adding items:
  
  * :func:`SortedDict.setdefault`
  * :func:`SortedDict.update`
  
  Methods for removing items:
  
  * :func:`SortedDict.clear`
  * :func:`SortedDict.pop`
  * :func:`SortedDict.popitem`
  
  Methods for looking up items:
  
  * :func:`SortedDict.__contains__` (inherited from dict)
  * :func:`SortedDict.get` (inherited from dict)
  * :func:`SortedDict.peekitem`
  
  Methods for views:
  
  * :func:`SortedDict.keys`
  * :func:`SortedDict.items`
  * :func:`SortedDict.values`
  
  Methods for miscellany:
  
  * :func:`SortedDict.copy`
  * :func:`SortedDict.fromkeys`
  * :func:`SortedDict.__reversed__`
  * :func:`SortedDict.__eq__` (inherited from dict)
  * :func:`SortedDict.__ne__` (inherited from dict)
  * :func:`SortedDict.__repr__`
  * :func:`SortedDict._check`
  
  Sorted list methods available (applies to keys):
  
  * :func:`SortedList.bisect_left`
  * :func:`SortedList.bisect_right`
  * :func:`SortedList.count`
  * :func:`SortedList.index`
  * :func:`SortedList.irange`
  * :func:`SortedList.islice`
  * :func:`SortedList._reset`
  
  Additional sorted list methods available, if key-function used:
  
  * :func:`SortedKeyList.bisect_key_left`
  * :func:`SortedKeyList.bisect_key_right`
  * :func:`SortedKeyList.irange_key`
  
  Sorted dicts may only be compared for equality and inequality.
class_docstr_tok: ["Sorted","dict","is","a","sorted","mutable","mapping",".","Sorted","dict","keys","are","maintained","in","sorted","order",".","The","design","of","sorted","dict","is","simple",":","sorted","dict","inherits","from","dict","to","store","items","and","maintains","a","sorted","list","of","keys",".","Sorted","dict","keys","must","be","hashable","and","comparable",".","The","hash","and","total","ordering","of","keys","must","not","change","while","they","are","stored","in","the","sorted","dict",".","Mutable","mapping","methods",":","*",":","func",":","`","SortedDict.__getitem__","`","(","inherited","from","dict",")","*",":","func",":","`","SortedDict.__setitem__","`","*",":","func",":","`","SortedDict.__delitem__","`","*",":","func",":","`","SortedDict.__iter__","`","*",":","func",":","`","SortedDict.__len__","`","(","inherited","from","dict",")","Methods","for","adding","items",":","*",":","func",":","`","SortedDict.setdefault","`","*",":","func",":","`","SortedDict.update","`","Methods","for","removing","items",":","*",":","func",":","`","SortedDict.clear","`","*",":","func",":","`","SortedDict.pop","`","*",":","func",":","`","SortedDict.popitem","`","Methods","for","looking","up","items",":","*",":","func",":","`","SortedDict.__contains__","`","(","inherited","from","dict",")","*",":","func",":","`","SortedDict.get","`","(","inherited","from","dict",")","*",":","func",":","`","SortedDict.peekitem","`","Methods","for","views",":","*",":","func",":","`","SortedDict.keys","`","*",":","func",":","`","SortedDict.items","`","*",":","func",":","`","SortedDict.values","`","Methods","for","miscellany",":","*",":","func",":","`","SortedDict.copy","`","*",":","func",":","`","SortedDict.fromkeys","`","*",":","func",":","`","SortedDict.__reversed__","`","*",":","func",":","`","SortedDict.__eq__","`","(","inherited","from","dict",")","*",":","func",":","`","SortedDict.__ne__","`","(","inherited","from","dict",")","*",":","func",":","`","SortedDict.__repr__","`","*",":","func",":","`","SortedDict._check","`","Sorted","list","methods","available","(","applies","to","keys",")",":","*",":","func",":","`","SortedList.bisect_left","`","*",":","func",":","`","SortedList.bisect_right","`","*",":","func",":","`","SortedList.count","`","*",":","func",":","`","SortedList.index","`","*",":","func",":","`","SortedList.irange","`","*",":","func",":","`","SortedList.islice","`","*",":","func",":","`","SortedList._reset","`","Additional","sorted","list","methods","available",",","if","key-function","used",":","*",":","func",":","`","SortedKeyList.bisect_key_left","`","*",":","func",":","`","SortedKeyList.bisect_key_right","`","*",":","func",":","`","SortedKeyList.irange_key","`","Sorted","dicts","may","only","be","compared","for","equality","and","inequality","."]
docstr: Return new sorted items view of the sorted dict's items.
  
  See :class:`SortedItemsView` for details.
  
  :return: new sorted items view
docstr_tok: ["Return","new","sorted","items","view","of","the","sorted","dict","'s","items",".","See",":","class",":","`","SortedItemsView","`","for","details",".",":","return",":","new","sorted","items","view"]
code: def items(self):
      """Return new sorted items view of the sorted dict's items.
  
      See :class:`SortedItemsView` for details.
  
      :return: new sorted items view
  
      """
      return SortedItemsView(self)
  
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 15 for calling the SortedDict obj's underlying member method code with example usage: obj.items() and returns: SortedItemsView