mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #19795: Improved markup of True/False constants.
This commit is contained in:
parent
4b79518f83
commit
fbc1c26803
41 changed files with 92 additions and 80 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue