diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-29 10:19:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-29 10:19:53 (GMT) |
commit | 0e90e99188d6fb54c3f5b31a0488318d9c38309d (patch) | |
tree | baeb9819ae83194653cd3c3d4760a6c19c787a4d /Doc/library/ssl.rst | |
parent | 567eba1852ed89e5cf93dbce33f7e2ca73e8f05d (diff) | |
parent | fbc1c268031a9c8fad65f49c8381b6145bd66ffc (diff) | |
download | cpython-0e90e99188d6fb54c3f5b31a0488318d9c38309d.zip cpython-0e90e99188d6fb54c3f5b31a0488318d9c38309d.tar.gz cpython-0e90e99188d6fb54c3f5b31a0488318d9c38309d.tar.bz2 |
Issue #19795: Improved markup of True/False constants.
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r-- | Doc/library/ssl.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 9091aff..f14ef07 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -287,7 +287,7 @@ Random generation .. function:: RAND_pseudo_bytes(num) Returns (bytes, is_cryptographic): bytes are *num* pseudo-random bytes, - is_cryptographic is True if the bytes generated are cryptographically + is_cryptographic is ``True`` if the bytes generated are cryptographically strong. Raises an :class:`SSLError` if the operation is not supported by the current RAND method. @@ -300,8 +300,8 @@ Random generation .. function:: RAND_status() - Returns True if the SSL pseudo-random number generator has been seeded with - 'enough' randomness, and False otherwise. You can use :func:`ssl.RAND_egd` + Returns ``True`` if the SSL pseudo-random number generator has been seeded with + 'enough' randomness, and ``False`` otherwise. You can use :func:`ssl.RAND_egd` and :func:`ssl.RAND_add` to increase the randomness of the pseudo-random number generator. @@ -1173,7 +1173,7 @@ to speed up repeated connections from the same clients. .. method:: SSLContext.get_ca_certs(binary_form=False) Returns a list of dicts with information of loaded CA certs. If the - optional argument is True, returns a DER-encoded copy of the CA + optional argument is true, returns a DER-encoded copy of the CA certificate. .. note:: |