diff -r 5376b3a168c8 Doc/library/uuid.rst --- a/Doc/library/uuid.rst Thu Dec 08 09:01:39 2016 -0800 +++ b/Doc/library/uuid.rst Thu Dec 08 19:42:31 2016 -0500 @@ -46,6 +46,18 @@ given *hex*, *bytes*, *bytes_le*, *fields*, or *int*. +:class:`UUID` instances support the following operations: + +* Comparison of UUID objects are made by way of comparing their + :attr:`UUID.int` attributes. Comparison with a non-UUID object + raises a :exc:`TypeError`. + +.. describe:: str(uuid) + + Returns a string in the form ``12345678-1234-5678-1234-567812345678`` + where the 32 hexcadecimal digits represent the UUID + + :class:`UUID` instances have these read-only attributes: .. attribute:: UUID.bytes