From: Sergey Matveev Date: Fri, 14 Sep 2018 11:30:49 +0000 (+0300) Subject: Fix defines documentation example usage X-Git-Tag: 4.2~1 X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=commitdiff_plain;h=ebf544f19d1757e37688201edd3333c8faf9c79b Fix defines documentation example usage --- diff --git a/doc/examples.rst b/doc/examples.rst index 7c10dad..ce20504 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -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()), )