nodes: 0, module; 1, function_definition; 2, function_name:_sorted_keys_items; 3, parameters; 4, block; 5, identifier:dobj; 6, expression_statement; 7, expression_statement; 8, for_statement; 9, comment:"""Return dictionary items sorted by key."""; 10, assignment; 11, identifier:key; 12, identifier:keys; 13, block; 14, identifier:keys; 15, call; 16, expression_statement; 17, identifier:sorted; 18, argument_list; 19, yield; 20, call; 21, expression_list; 22, attribute; 23, argument_list; 24, identifier:key; 25, subscript; 26, identifier:dobj; 27, identifier:keys; 28, identifier:dobj; 29, identifier:key
code: def _sorted_keys_items(dobj):
      """Return dictionary items sorted by key."""
      keys = sorted(dobj.keys())
      for key in keys:
          yield key, dobj[key]