We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 298c01f commit bb65193Copy full SHA for bb65193
1 file changed
quantities/registry.py
@@ -20,7 +20,7 @@ def __getitem__(self, string):
20
# easy hack to prevent arbitrary evaluation of code
21
all_builtins = dir(builtins)
22
# because we have kilobytes, other bytes we have to remove bytes
23
- all_builtins = all_builtins.remove("bytes")
+ all_builtins.remove("bytes")
24
for builtin in all_builtins:
25
if builtin in string:
26
raise RuntimeError(f"String parsing error for {string}. Enter a string accepted by quantities")
0 commit comments