Add chr and ord to safe_builtins

This commit is contained in:
Kovid Goyal 2023-02-11 05:51:24 +05:30
parent 74a5b26967
commit 64fe9f82ed
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -223,7 +223,7 @@ class TabAccessor:
safe_builtins = {
'max': max, 'min': min, 'str': str, 'repr': repr, 'abs': abs, 'len': len, 're': re,
'max': max, 'min': min, 'str': str, 'repr': repr, 'abs': abs, 'len': len, 'chr': chr, 'ord': ord, 're': re,
}