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

Function uuid4

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

Generate a random UUID.

()

Source from the content-addressed store, hash-verified

719 return UUID(bytes=digest[:16], version=3)
720
721def uuid4():
722 """Generate a random UUID."""
723 return UUID(bytes=os.urandom(16), version=4)
724
725def uuid5(namespace, name):
726 """Generate a UUID from the SHA-1 hash of a namespace UUID and a name."""

Callers

nothing calls this directly

Calls 1

UUIDClass · 0.85

Tested by

no test coverage detected