@@ -692,8 +692,8 @@ For more information, see `Registry Value Types
692692.. data :: REG_BINARY
693693
694694 Binary data in any form.
695- *value * must be a :term: `bytes-like object ` for this type.
696- Returns a :class: `bytes ` object, or :const: ` None ` for empty values.
695+ *value * must be a :term: `bytes-like object ` in Python for this type.
696+ Returns a :class: `bytes ` object, or `` None ` ` for empty values.
697697
698698.. data :: REG_DWORD
699699
@@ -720,6 +720,7 @@ For more information, see `Registry Value Types
720720
721721 A Unicode symbolic link.
722722 *value * must be a :term: `bytes-like object ` in Python for this type.
723+ Returns a :class: `bytes ` object, or ``None `` for empty values.
723724
724725.. data :: REG_MULTI_SZ
725726
@@ -732,6 +733,7 @@ For more information, see `Registry Value Types
732733
733734 No defined value type.
734735 *value * must be a :term: `bytes-like object ` in Python for this type.
736+ Returns a :class: `bytes ` object, or ``None `` for empty values.
735737
736738.. data :: REG_QWORD
737739
@@ -751,23 +753,26 @@ For more information, see `Registry Value Types
751753
752754 A device-driver resource list.
753755 *value * must be a :term: `bytes-like object ` in Python for this type.
756+ Returns a :class: `bytes ` object, or ``None `` for empty values.
754757
755758.. data :: REG_FULL_RESOURCE_DESCRIPTOR
756759
757760 A hardware setting.
758761 *value * must be a :term: `bytes-like object ` in Python for this type.
762+ Returns a :class: `bytes ` object, or ``None `` for empty values.
759763
760764.. data :: REG_RESOURCE_REQUIREMENTS_LIST
761765
762766 A hardware resource list.
763767 *value * must be a :term: `bytes-like object ` in Python for this type.
768+ Returns a :class: `bytes ` object, or ``None `` for empty values.
764769
765770.. data :: REG_SZ
766771
767772 A null-terminated string.
768773 *value * must be a :class: `str ` in Python for this type.
769774
770- Note that :const: ` None ` is also accepted for these types. when :const: ` None `
775+ Note that `` None `` is also accepted for these types. When `` None ` `
771776is passed, it is converted to the corresponding zero or empty value for the type
772777(0 for integers, empty string for strings, empty list for multi-strings, etc.).
773778
0 commit comments