From a2cf18430150f86d30fe105d3c512927f509a12c Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Sun, 11 Sep 2022 09:33:50 -0700 Subject: [PATCH] minor cleanup --- implementations/Python/simplejoy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/implementations/Python/simplejoy.py b/implementations/Python/simplejoy.py index d751d3b..bf28af1 100755 --- 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. -- 2.11.0