Skip to content

Commit bb65193

Browse files
committed
remove is in place
1 parent 298c01f commit bb65193

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

quantities/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __getitem__(self, string):
2020
# easy hack to prevent arbitrary evaluation of code
2121
all_builtins = dir(builtins)
2222
# because we have kilobytes, other bytes we have to remove bytes
23-
all_builtins = all_builtins.remove("bytes")
23+
all_builtins.remove("bytes")
2424
for builtin in all_builtins:
2525
if builtin in string:
2626
raise RuntimeError(f"String parsing error for {string}. Enter a string accepted by quantities")

0 commit comments

Comments
 (0)