diff options
Diffstat (limited to 'dbus_bindings/int.c')
-rw-r--r-- | dbus_bindings/int.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/dbus_bindings/int.c b/dbus_bindings/int.c index 66ad9e0..871a065 100644 --- a/dbus_bindings/int.c +++ b/dbus_bindings/int.c @@ -47,10 +47,10 @@ PyDoc_STRVAR(Boolean_tp_doc, "\n" "``value`` is converted to 0 or 1 as if by ``int(bool(value))``.\n" "\n" -"``variant_level`` must be non-negative; the default is 0.\n" +":py:attr:`variant_level` must be non-negative; the default is 0.\n" +"\n" +".. py:attribute:: variant_level\n" "\n" -":IVariables:\n" -" `variant_level` : int\n" " Indicates how many nested Variant containers this object\n" " is contained in: if a message's wire format has a variant containing a\n" " variant containing a boolean, this is represented in Python by a\n" @@ -160,8 +160,8 @@ PyDoc_STRVAR(Int16_tp_doc, "\n" " variant_level must be non-negative; the default is 0.\n" "\n" -":IVariables:\n" -" `variant_level` : int\n" +".. py:attribute:: variant_level\n" +"\n" " Indicates how many nested Variant containers this object\n" " is contained in: if a message's wire format has a variant containing a\n" " variant containing an int16, this is represented in Python by an\n" @@ -248,10 +248,10 @@ PyDoc_STRVAR(UInt16_tp_doc, "``value`` must be within the allowed range, or `OverflowError` will be\n" "raised.\n" "\n" -"``variant_level`` must be non-negative; the default is 0.\n" +":py:attr:`variant_level` must be non-negative; the default is 0.\n" +"\n" +".. py:attribute:: variant_level\n" "\n" -":IVariables:\n" -" `variant_level` : int\n" " Indicates how many nested Variant containers this object\n" " is contained in: if a message's wire format has a variant containing a\n" " variant containing a uint16, this is represented in Python by a\n" @@ -340,10 +340,10 @@ PyDoc_STRVAR(Int32_tp_doc, "``value`` must be within the allowed range, or `OverflowError` will be\n" "raised.\n" "\n" -"``variant_level`` must be non-negative; the default is 0.\n" +":py:attr:`variant_level` must be non-negative; the default is 0.\n" +"\n" +".. py:attribute:: variant_level\n" "\n" -":IVariables:\n" -" `variant_level` : int\n" " Indicates how many nested Variant containers this object\n" " is contained in: if a message's wire format has a variant containing a\n" " variant containing an int32, this is represented in Python by an\n" @@ -433,10 +433,10 @@ PyDoc_STRVAR(UInt32_tp_doc, "``value`` must be within the allowed range, or `OverflowError` will be\n" "raised.\n" "\n" -"``variant_level`` must be non-negative; the default is 0.\n" +":py:attr:`variant_level` must be non-negative; the default is 0.\n" +"\n" +".. py:attribute:: variant_level\n" "\n" -":IVariables:\n" -" `variant_level` : int\n" " Indicates how many nested Variant containers this object\n" " is contained in: if a message's wire format has a variant containing a\n" " variant containing a uint32, this is represented in Python by a\n" @@ -537,10 +537,10 @@ PyDoc_STRVAR(Int64_tp_doc, "``value`` must be within the allowed range, or `OverflowError` will be\n" "raised.\n" "\n" -"``variant_level`` must be non-negative; the default is 0.\n" +":py:attr:`variant_level` must be non-negative; the default is 0.\n" +"\n" +".. py:attribute:: variant_level\n" "\n" -":IVariables:\n" -" `variant_level` : int\n" " Indicates how many nested Variant containers this object\n" " is contained in: if a message's wire format has a variant containing a\n" " variant containing an int64, this is represented in Python by an\n" @@ -644,10 +644,10 @@ PyDoc_STRVAR(UInt64_tp_doc, "``value`` must be within the allowed range, or `OverflowError` will be\n" "raised.\n" "\n" -"``variant_level`` must be non-negative; the default is 0.\n" +":py:attr:`variant_level` must be non-negative; the default is 0.\n" +"\n" +".. py:attribute:: variant_level\n" "\n" -":IVariables:\n" -" `variant_level` : int\n" " Indicates how many nested Variant containers this object\n" " is contained in: if a message's wire format has a variant containing a\n" " variant containing a uint64, this is represented in Python by a\n" |