]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/examples.rst
More decod() usage examples
[pyderasn.git] / doc / examples.rst
index 7e4c473bc70bd5d46ffeafee57d3644027bdd333..5dace604dc254fcc8d1c00205a195ba8b084d353 100644 (file)
@@ -177,7 +177,7 @@ We are ready to decode PayPal's certificate from Go `encoding/asn1
 <https://golang.org/pkg/encoding/asn1/>`__ test suite (assuming that
 it's DER encoded representation is already in ``raw`` variable)::
 
-    >>> crt, tail = Certificate().decode(raw)
+    >>> crt = Certificate().decod(raw)
     >>> crt
     Certificate SEQUENCE[tbsCertificate: TBSCertificate SEQUENCE[
         version: [0] EXPLICIT Version INTEGER v3 OPTIONAL;