code: def connection_info(self):
          
          for key in self._connection_keys():
              if key in self._contents:
                  yield key, self._contents[key]
docs: Return an ordered iterator of key/value pairs for pretty-printing.