Pylint is kind useless on this one.

This commit is contained in:
Simon Forman
2022-09-07 11:18:08 -07:00
parent acd0424287
commit 51664c5856
+4 -4
View File
@@ -35,7 +35,7 @@ import operator
class NotAListError(Exception): class NotAListError(Exception):
pass '''Raised when a stack is expected.'''
class NotAnIntError(Exception): class NotAnIntError(Exception):
@@ -124,8 +124,8 @@ WORDS = (
'[' # Character class '[' # Character class
'^' # not a '^' # not a
'[' # left square bracket nor a '[' # left square bracket nor a
'\]' # right square bracket (escaped so it doesn't close the character class) r'\]' # right square bracket (escaped so it doesn't close the character class)
'\s' # nor blankspace r'\s' # nor blankspace
']+' # end character class, one-or-more. ']+' # end character class, one-or-more.
) )
@@ -211,7 +211,7 @@ def _parse(tokens):
return list_to_stack(frame) return list_to_stack(frame)
''' r'''
███████╗████████╗ █████╗ ██████╗██╗ ██╗ ███████╗████████╗ █████╗ ██████╗██╗ ██╗
██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝ ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝
███████╗ ██║ ███████║██║ █████╔╝ ███████╗ ██║ ███████║██║ █████╔╝