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

Function _unix_getnode

tools/python-3.11.9-amd64/Lib/uuid.py:595–599  ·  view source on GitHub ↗

Get the hardware address on Unix using the _uuid extension module.

()

Source from the content-addressed store, hash-verified

593
594
595def _unix_getnode():
596 """Get the hardware address on Unix using the _uuid extension module."""
597 if _generate_time_safe:
598 uuid_time, _ = _generate_time_safe()
599 return UUID(bytes=uuid_time).node
600
601def _windll_getnode():
602 """Get the hardware address on Windows using the _uuid extension module."""

Callers

nothing calls this directly

Calls 1

UUIDClass · 0.85

Tested by

no test coverage detected