This lingered awhile eh?
This commit is contained in:
Simon Forman 2021-11-19 10:47:13 -08:00
parent 1e38bf2029
commit 4de5f767e9
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ def BinaryBuiltinWrapper(f):
if (not isinstance(a, int)
or not isinstance(b, int)
or isinstance(a, bool) # Because bools are ints in Python.
or isinstance(a, bool)
or isinstance(b, bool)
):
raise NotAnIntError
result = f(b, a)