summaryrefslogtreecommitdiff
path: root/Python/random.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-17 09:39:28 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-17 09:39:28 +0300
commit67dfb592d054602f43aa6f3239552709ed42a6c8 (patch)
treee40fb975728a2c7d941b657306aa078a16753adc /Python/random.c
parent9f70a4849d1a62db5ec8e2ba5b06784d69480fe3 (diff)
parent619fd27374ff0713563a37678f6d8f6ad9fc30f5 (diff)
downloadcpython-67dfb592d054602f43aa6f3239552709ed42a6c8.tar.gz
Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.
Diffstat (limited to 'Python/random.c')
-rw-r--r--Python/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/random.c b/Python/random.c
index 79157b8b6f..839d7ad991 100644
--- a/Python/random.c
+++ b/Python/random.c
@@ -386,7 +386,7 @@ _PyRandom_Init(void)
char *env;
unsigned char *secret = (unsigned char *)&_Py_HashSecret.uc;
Py_ssize_t secret_size = sizeof(_Py_HashSecret_t);
- assert(secret_size == sizeof(_Py_HashSecret.uc));
+ Py_BUILD_ASSERT(sizeof(_Py_HashSecret_t) == sizeof(_Py_HashSecret.uc));
if (_Py_HashSecret_Initialized)
return;