Fix heading level
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 33ab5e5..c5a5666 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -259,7 +259,7 @@
Notes on Reproducibility
-========================
+------------------------
Sometimes it is useful to be able to reproduce the sequences given by a pseudo
random number generator. By re-using a seed value, the same sequence should be
@@ -277,7 +277,7 @@
.. _random-examples:
Examples and Recipes
-====================
+--------------------
Basic usage::