Skip to content

Commit 695078e

Browse files
committed
Math: Block factorial() in calc functions.
1 parent 9b53b65 commit 695078e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/Math/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def _sqrt(x):
106106
_mathEnv['abs'] = abs
107107
_mathEnv['max'] = max
108108
_mathEnv['min'] = min
109+
_mathEnv.pop('factorial')
109110
_mathRe = re.compile(r'((?:(?<![A-Fa-f\d)])-)?'
110111
r'(?:0x[A-Fa-f\d]+|'
111112
r'0[0-7]+|'

0 commit comments

Comments
 (0)