MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __repr__

Method __repr__

tools/python-3.11.9-amd64/Lib/os.py:706–711  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

704 return len(self._data)
705
706 def __repr__(self):
707 formatted_items = ", ".join(
708 f"{self.decodekey(key)!r}: {self.decodevalue(value)!r}"
709 for key, value in self._data.items()
710 )
711 return f"environ({{{formatted_items}}})"
712
713 def copy(self):
714 return dict(self)

Callers

nothing calls this directly

Calls 2

joinMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected