Issue #19795: Improved markup of True/False constants.

This commit is contained in:
Serhiy Storchaka 2013-11-29 12:17:13 +02:00
parent 4b79518f83
commit fbc1c26803
41 changed files with 92 additions and 80 deletions

View file

@ -245,7 +245,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.
@ -258,8 +258,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.