diff -r adce94a718e3 Doc/library/uuid.rst --- a/Doc/library/uuid.rst Tue Aug 02 17:49:30 2016 -0400 +++ b/Doc/library/uuid.rst Wed Aug 03 03:20:04 2016 -0400 @@ -46,6 +46,21 @@ given *hex*, *bytes*, *bytes_le*, *fields*, or *int*. +:class:`UUID` instances support the following operations: + +.. describe:: str(uuid) + + Returns a string in the form ``12345678-1234-5678-1234-567812345678`` + where the 32 hexcadecimal digits represent the UUID + +.. describe:: uuid1 == uuid2 +.. describe:: uuid1 < uuid2 +.. describe:: uuid1 > uuid2 + + Compares two UUID instances by way of comparing their :attr:`UUID.int` + attributes + + :class:`UUID` instances have these read-only attributes: .. attribute:: UUID.bytes