diff --git a/libpebble2/protocol/base/__init__.py b/libpebble2/protocol/base/__init__.py index 9d2c04d..7ca44de 100644 --- a/libpebble2/protocol/base/__init__.py +++ b/libpebble2/protocol/base/__init__.py @@ -100,7 +100,7 @@ class Meta: command = Uint8(default=0x01) response = Uint8(enum=AppFetchStatus) - :param \*\*kwargs: Initial values for any properties on the object. + :param \\*\\*kwargs: Initial values for any properties on the object. """ def __init__(self, **kwargs): for k, v in iteritems(kwargs): diff --git a/libpebble2/protocol/base/types.py b/libpebble2/protocol/base/types.py index 0d0f04a..0cde2ce 100644 --- a/libpebble2/protocol/base/types.py +++ b/libpebble2/protocol/base/types.py @@ -189,8 +189,8 @@ class Union(Field): :param determinant: The field that is used to determine which possible entry to use. :type determinant: Field - :param contents: A :class:`dict` mapping values of ``determinant`` to either :class:`Field`\ s or - :class:`PebblePacket`\ s + :param contents: A :class:`dict` mapping values of ``determinant`` to either :class:`Field`\\ s or + :class:`PebblePacket`\\ s that this :class:`Union` can represent. This dictionary is inverted for use in serialisation, so it should be a one-to-one mapping. :type contents: dict @@ -424,7 +424,7 @@ def dependent_fields(self): class PascalList(Field): """ - Represents a list of :class:`.PebblePacket`\ s, each of which is prefixed with a byte indicating its length. + Represents a list of :class:`.PebblePacket`\\ s, each of which is prefixed with a byte indicating its length. :param member_type: The type of :class:`.PebblePacket` in the list. :type member_type: ~builtins.type @@ -479,7 +479,7 @@ def dependent_fields(self): class FixedList(Field): """ - Represents a list of either :class:`PebblePacket`\ s or :class:`Field`\ s with either a fixed number of entries, + Represents a list of either :class:`PebblePacket`\\ s or :class:`Field`\\ s with either a fixed number of entries, a fixed length (in bytes), or both. There are no dividers between entries; the members must be fixed-length. If neither ``count`` nor ``length`` is set, members will be read until the end of the buffer.