From d6087e2906297c7d2c4f5589bd7880ac06ea0654 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 3 Apr 2003 09:59:05 +0000 Subject: [PATCH] Added i to _mathEnv --- plugins/FunCommands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/FunCommands.py b/plugins/FunCommands.py index 6d491d332..9fe38185a 100644 --- a/plugins/FunCommands.py +++ b/plugins/FunCommands.py @@ -326,6 +326,7 @@ class FunCommands(callbacks.Privmsg): _mathEnv = {} _mathEnv.update(math.__dict__) _mathEnv.update(cmath.__dict__) + _mathEnv['i'] = 1j _mathEnv['__builtins__'] = new.module('__builtins__') _mathInt = re.compile(r'(?