]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/examples.rst
Fix defines documentation example usage
[pyderasn.git] / 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()),
         )