The Uuid module
PR 31422 In parametrics implemented __eq__ and __ne__ for Uuid, Point3D, and Transform3D such that the following holds.
u = Uuid.Uuid()
v = Uuid.Uuid()
assert u == v
assert not u <> v
(v2015)PR 32767 In parametrics, defined Uuid.Uuid.__hash__ as the hash of the bytes, e.g. hash(u) == hash(u.bytes). (v2015)
To get help on the Uuid module, you can use the built-in Python functions dir() and help() .
SDS2 Python Prompt |
>> import Uuid # import the module |