summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-27 19:40:23 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-27 19:40:23 +0300
commit9927bb7a2e04addea58d3df36ca4ea47113b0192 (patch)
tree160059a15a0abf9fd1dcd7a445b25bac8dec3be3 /Python/compile.c
parent7d3957d92d416e3f169be669c6ea2f8f8dbd5565 (diff)
downloadcpython-9927bb7a2e04addea58d3df36ca4ea47113b0192.tar.gz
Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index dd4262c170..6d66255c98 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1013,7 +1013,7 @@ compiler_add_o(struct compiler *c, PyObject *dict, PyObject *o)
Py_ssize_t arg;
double d;
- /* necessary to make sure types aren't coerced (e.g., int and long) */
+ /* necessary to make sure types aren't coerced (e.g., float and complex) */
/* _and_ to distinguish 0.0 from -0.0 e.g. on IEEE platforms */
if (PyFloat_Check(o)) {
d = PyFloat_AS_DOUBLE(o);