Skip to content

Commit 7aa755f

Browse files
committed
Docs: fix SSL encoding type references
1 parent 5204bd8 commit 7aa755f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Doc/library/ssl.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ Certificate handling
479479

480480
The function returns a list of (cert_bytes, encoding_type, trust) tuples.
481481
The encoding_type specifies the encoding of cert_bytes. It is either
482-
:const:`x509_asn` for X.509 ASN.1 data or :const:`pkcs_7_asn` for
482+
``'x509_asn'`` for X.509 ASN.1 data or ``'pkcs_7_asn'`` for
483483
PKCS#7 ASN.1 data. Trust specifies the purpose of the certificate as a set
484484
of OIDS or exactly ``True`` if the certificate is trustworthy for all
485485
purposes.
@@ -502,7 +502,7 @@ Certificate handling
502502

503503
The function returns a list of (cert_bytes, encoding_type) tuples.
504504
The encoding_type specifies the encoding of cert_bytes. It is either
505-
:const:`x509_asn` for X.509 ASN.1 data or :const:`pkcs_7_asn` for
505+
``'x509_asn'`` for X.509 ASN.1 data or ``'pkcs_7_asn'`` for
506506
PKCS#7 ASN.1 data.
507507

508508
.. availability:: Windows.

0 commit comments

Comments
 (0)