]> granicus.if.org Git - python/commitdiff
[Bug #1583946] Reword description of server and issuer
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 27 Oct 2006 12:50:55 +0000 (12:50 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 27 Oct 2006 12:50:55 +0000 (12:50 +0000)
Doc/lib/libsocket.tex

index aa75ec9866e3273a14322d7ef7d3751fe3f9b929..ececea4b2cf43042811646efa418c236f794f5ce 100644 (file)
@@ -712,14 +712,15 @@ read until EOF. The return value is a string of the bytes read.
 \end{methoddesc}
 
 \begin{methoddesc}{server}{}
-Returns a string containing the ASN.1 distinguished name identifying the 
-server's certificate.  (See below for an example
-showing what distinguished names look like.)
+Returns a string describing the server's certificate.
+Useful for debugging purposes; do not parse the content of this string
+because its format can't be parsed unambiguously.
 \end{methoddesc}
 
 \begin{methoddesc}{issuer}{}
-Returns a string containing the ASN.1 distinguished name identifying the
-issuer of the server's certificate.
+Returns a string describing the issuer of the server's certificate.
+Useful for debugging purposes; do not parse the content of this string
+because its format can't be parsed unambiguously.
 \end{methoddesc}
 
 \subsection{Example \label{socket-example}}