aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-12-18 23:48:33 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-12-18 23:48:33 -0800
commitae7dfce5a383c6f3cb79f49ad728e9b642d6aaa7 (patch)
tree70bb7d1b934131127303a0fd59d1351dccb1a8cc
parent2d6bb0bd96190ee504f9e8c215bb3a7ed56358f2 (diff)
downloadcryptography-ae7dfce5a383c6f3cb79f49ad728e9b642d6aaa7.tar.gz
cryptography-ae7dfce5a383c6f3cb79f49ad728e9b642d6aaa7.tar.bz2
cryptography-ae7dfce5a383c6f3cb79f49ad728e9b642d6aaa7.zip
Attempt to link to the os.urandom docs from upstream
-rw-r--r--docs/random-numbers.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/random-numbers.rst b/docs/random-numbers.rst
index 5113afd2..8b119a3e 100644
--- a/docs/random-numbers.rst
+++ b/docs/random-numbers.rst
@@ -9,9 +9,9 @@ provide a cryptographically secure random number generator, which can result in
major security issues depending on the algorithms in use.
Therefore, it is our recommendation to `always use your operating system's
-provided random number generator`_, which is available as ``os.urandom()``. For
-example, if you need 16 bytes of random data for an initialization vector, you
-can obtain them with:
+provided random number generator`_, which is available as :func:`os.urandom`.
+For example, if you need 16 bytes of random data for an initialization vector,
+you can obtain them with:
.. doctest::