From 315e78e3e8dbfbd5b39cfe5adf2a67205815e805 Mon Sep 17 00:00:00 2001 From: Remy Noel Date: Mon, 20 Feb 2023 09:59:12 +0100 Subject: [PATCH 1/2] fix: corrects Variant documentation --- src/dbus_fast/signature.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/dbus_fast/signature.py b/src/dbus_fast/signature.py index 1c7040ac..5ba33a2d 100644 --- a/src/dbus_fast/signature.py +++ b/src/dbus_fast/signature.py @@ -381,10 +381,7 @@ class Variant: construct this class directly for use in message bodies sent over the bus. :ivar signature: The signature for this variant. Must be a single complete type. - :vartype signature: str - - :ivar signature_type: The parsed signature of this variant. - :vartype signature_type: :class:`SignatureType` + :vartype signature: str or SignarueTree or SignatureType :ivar value: The value of this variant. Must correspond to the signature. :vartype value: Any From fbaa5e96f729c62ab31a6f73d17af9798c0d6dc4 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 20 Feb 2023 08:14:22 -0600 Subject: [PATCH 2/2] Update src/dbus_fast/signature.py --- src/dbus_fast/signature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbus_fast/signature.py b/src/dbus_fast/signature.py index 5ba33a2d..6eb1df8d 100644 --- a/src/dbus_fast/signature.py +++ b/src/dbus_fast/signature.py @@ -381,7 +381,7 @@ class Variant: construct this class directly for use in message bodies sent over the bus. :ivar signature: The signature for this variant. Must be a single complete type. - :vartype signature: str or SignarueTree or SignatureType + :vartype signature: str or SignatureTree or SignatureType :ivar value: The value of this variant. Must correspond to the signature. :vartype value: Any