]> Cypherpunks.ru repositories - pyderasn.git/commitdiff
Fix defines documentation example usage
authorSergey Matveev <stargrave@stargrave.org>
Fri, 14 Sep 2018 11:30:49 +0000 (14:30 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 14 Sep 2018 11:30:49 +0000 (14:30 +0300)
doc/examples.rst

index 7c10dadbcea3f20c80c465a4197f2528b714518a..ce205043a7e7189f8b3cec2064be8fd42df35b10 100644 (file)
@@ -486,13 +486,13 @@ fields automatic decoding::
 
     class AttributeTypeAndValue(Sequence):
         schema = (
-            ((("type",), AttributeType(defines=("value", {
+            ((("type",), AttributeType(defines=((("value",), {
                 id_at_countryName: PrintableString(),
                 id_at_stateOrProvinceName: PrintableString(),
                 id_at_localityName: PrintableString(),
                 id_at_organizationName: PrintableString(),
                 id_at_commonName: PrintableString(),
-            }))),),
+            }),)))),
             ("value", AttributeValue()),
         )