This commit is contained in:
Kovid Goyal 2021-03-30 18:22:53 +05:30
parent b9a64085e9
commit 098885a465
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -926,7 +926,7 @@ class _Interpreter(object):
else:
res = unicode_type(res)
else:
res = unicode_type(res) # Should be the string "None"
res = unicode_type(res) # Should be the string "None"
if (self.break_reporter):
self.break_reporter(prog.node_name, res, prog.line_number)
return res
@ -991,7 +991,6 @@ class _Interpreter(object):
self.break_reporter(prog.node_name, res, prog.line_number)
return res
LOGICAL_BINARY_OPS = {
'and': lambda self, x, y: self.expr(x) and self.expr(y),
'or': lambda self, x, y: self.expr(x) or self.expr(y),