Issue 1681432: Add triangular distribution the random module.
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 3beed6c..505cc81 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -190,6 +190,10 @@
Return a random floating point number *N* such that ``a <= N < b``.
+.. function:: triangular(low, high, mode)
+
+ Return a random floating point number *N* such that ``low <= N < high``
+ and with the specified *mode* between those bounds.
.. function:: betavariate(alpha, beta)