summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/complex.c b/complex.c
index 685d4bc075..35e56283ef 100644
--- a/complex.c
+++ b/complex.c
@@ -438,7 +438,7 @@ nucomp_f_complex(int argc, VALUE *argv, VALUE klass)
static ID kwds[1];
VALUE exception;
if (!kwds[0]) {
- kwds[0] = rb_intern_const("exception");
+ kwds[0] = idException;
}
rb_get_kwargs(opts, kwds, 0, 1, &exception);
raise = (exception != Qfalse);