OSDN Git Service
(root)
/
joypy
/
Thun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e38bf2
)
OMG bug!
author
Simon Forman
<sforman@hushmail.com>
Fri, 19 Nov 2021 18:47:13 +0000
(10:47 -0800)
committer
Simon Forman
<sforman@hushmail.com>
Fri, 19 Nov 2021 18:47:13 +0000
(10:47 -0800)
This lingered awhile eh?
joy/library.py
patch
|
blob
|
history
diff --git
a/joy/library.py
b/joy/library.py
index
8bd38f1
..
2cf2b03
100644
(file)
--- a/
joy/library.py
+++ b/
joy/library.py
@@
-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)