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:
64946dc
)
minor cleanup
author
Simon Forman
<sforman@hushmail.com>
Sun, 11 Sep 2022 16:33:50 +0000
(09:33 -0700)
committer
Simon Forman
<sforman@hushmail.com>
Sun, 11 Sep 2022 16:33:50 +0000
(09:33 -0700)
implementations/Python/simplejoy.py
patch
|
blob
|
history
diff --git
a/implementations/Python/simplejoy.py
b/implementations/Python/simplejoy.py
index
d751d3b
..
bf28af1
100755
(executable)
--- a/
implementations/Python/simplejoy.py
+++ b/
implementations/Python/simplejoy.py
@@
-317,6
+317,10
@@
def joy(stack, expression, dictionary):
return stack, dictionary
+class UnknownSymbolError(KeyError):
+ pass
+
+
'''
███████╗████████╗ █████╗ ██████╗██╗ ██╗
██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝
@@
-1287,10
+1291,6
@@
class NotABoolError(Exception):
pass
-class UnknownSymbolError(KeyError):
- pass
-
-
def isnt_int(i):
'''
Raise NotAnIntError if i isn't an integer.