Math: Block factorial() in calc functions.

This commit is contained in:
Valentin Lorentz 2012-05-07 15:16:20 +00:00
parent 9b53b653a5
commit 695078edeb
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ class Math(callbacks.Plugin):
_mathEnv['abs'] = abs
_mathEnv['max'] = max
_mathEnv['min'] = min
_mathEnv.pop('factorial')
_mathRe = re.compile(r'((?:(?<![A-Fa-f\d)])-)?'
r'(?:0x[A-Fa-f\d]+|'
r'0[0-7]+|'