diff options
| author | Barry Warsaw | 2016-01-13 12:20:40 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2016-01-13 12:20:40 -0500 |
| commit | 187dad97bf278b0ca9d080774072e8fb235154cc (patch) | |
| tree | 060b1575bb8dbe6e518ae359c22d812c9fa48b51 /src/mailman/interfaces/api.py | |
| parent | 06159312d09192b1cede8d20b61ff856442426e8 (diff) | |
| download | mailman-187dad97bf278b0ca9d080774072e8fb235154cc.tar.gz mailman-187dad97bf278b0ca9d080774072e8fb235154cc.tar.zst mailman-187dad97bf278b0ca9d080774072e8fb235154cc.zip | |
Diffstat (limited to 'src/mailman/interfaces/api.py')
| -rw-r--r-- | src/mailman/interfaces/api.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mailman/interfaces/api.py b/src/mailman/interfaces/api.py index c64f37346..1e1d15d44 100644 --- a/src/mailman/interfaces/api.py +++ b/src/mailman/interfaces/api.py @@ -55,11 +55,11 @@ class IAPI(Interface): def to_uuid(uuid): """Return the UUID from the string representation. - :param uuid: The string representation of the UUID. - :type uuid: str - :return: The UUID converted from the string representation, as - appropriate for the API version. In 3.0, uuid is interpreted as - the integer representation of a UUID, while in 3.1 it is the hex - representation of the UUID. + :param uuid: A UUID, or the string representation of the UUID. + :type uuid: UUID or str + :return: The UUID, converted if needed as appropriate for the + API version. In 3.0, the string representation is + interpreted as an integer, while in 3.1 it is the hex + string. :rtype: UUID """ |
