From: Serhiy Storchaka Date: Sat, 26 Nov 2016 11:49:59 +0000 (+0200) Subject: Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges X-Git-Tag: v3.6.0rc1~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0264e46caa854803a5318d75ae7893e9174f3f70;p=python Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges in the documentation. --- 0264e46caa854803a5318d75ae7893e9174f3f70 diff --cc Doc/library/cmath.rst index d935c41d0b,e113ffc3e5..c819a667ec --- a/Doc/library/cmath.rst +++ b/Doc/library/cmath.rst @@@ -309,4 -275,6 +309,4 @@@ cuts for numerical purposes, a good ref Kahan, W: Branch cuts for complex elementary functions; or, Much ado about nothing's sign bit. In Iserles, A., and Powell, M. (eds.), The state of the art - in numerical analysis. Clarendon Press (1987) pp165-211. + in numerical analysis. Clarendon Press (1987) pp165--211. - - diff --cc Doc/library/random.rst index 115ef81558,8ae242c029..d96cc3e249 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@@ -46,24 -46,10 +46,24 @@@ from sources provided by the operating .. warning:: The pseudo-random generators of this module should not be used for - security purposes. + security purposes. For security or cryptographic uses, see the + :mod:`secrets` module. +.. seealso:: + + M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-dimensionally + equidistributed uniform pseudorandom number generator", ACM Transactions on - Modeling and Computer Simulation Vol. 8, No. 1, January pp.3-30 1998. ++ Modeling and Computer Simulation Vol. 8, No. 1, January pp.3--30 1998. + + + `Complementary-Multiply-with-Carry recipe + `_ for a compatible alternative + random number generator with a long period and comparatively simple update + operations. -Bookkeeping functions: + +Bookkeeping functions +--------------------- .. function:: seed(a=None, version=2)