diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-10-13 03:25:18 -0700 |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-10-13 03:25:18 -0700 |
commit | 860a9bc73f3eef2a82207dbf468a474a075e8528 (patch) | |
tree | 4d595639533491e718e844b65f193f2890e9b270 /Python/random.c | |
parent | 85683d9d69d0feac4f03eb73ab73c8c9176ae7b8 (diff) | |
parent | 62a59f4e8ab0457f632d4ee77ea894165dadfb1c (diff) | |
download | cpython-860a9bc73f3eef2a82207dbf468a474a075e8528.tar.gz |
Issue #16206: Merge dict documentation improvements from 3.2.
Improve the documentation of the dict constructor. This change includes
replacing the single-line signature documentation with a more complete
multiple-line signature.
Diffstat (limited to 'Python/random.c')
-rw-r--r-- | Python/random.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Python/random.c b/Python/random.c index 825260f36b..53518c2ebe 100644 --- a/Python/random.c +++ b/Python/random.c @@ -258,17 +258,6 @@ _PyRandom_Init(void) _Py_HashSecret_Initialized = 1; /* - By default, hash randomization is disabled, and only - enabled if PYTHONHASHSEED is set to non-empty or if - "-R" is provided at the command line: - */ - if (!Py_HashRandomizationFlag) { - /* Disable the randomized hash: */ - memset(secret, 0, secret_size); - return; - } - - /* Hash randomization is enabled. Generate a per-process secret, using PYTHONHASHSEED if provided. */ |