Skip to content

Commit

Permalink
Types of allowed attrs is set, not empty dict.
Browse files Browse the repository at this point in the history
  • Loading branch information
danthedeckie committed Oct 31, 2024
1 parent 1beabd4 commit 32f1bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simpleeval.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
"real",
"to_bytes",
},
None: {},
None: set(),
dict: {
"clear",
"copy",
Expand Down

0 comments on commit 32f1bfc

Please sign in to comment.