diff options
author | adityacp | 2021-03-15 19:09:46 +0530 |
---|---|---|
committer | adityacp | 2021-03-15 19:09:46 +0530 |
commit | 800bc1c002b4a57f6c307ca37726d85946a5d7cb (patch) | |
tree | 4f8f3b931b78eebb0ea3b88e49bd6ed21ec2cdd3 /yaksh/base_evaluator.py | |
parent | 542433598aad0efffee7619e1f113425147bcec0 (diff) | |
parent | 6fda19daaa06482b8eb52eeb62f9b0a15d0a3da6 (diff) | |
download | online_test-800bc1c002b4a57f6c307ca37726d85946a5d7cb.tar.gz online_test-800bc1c002b4a57f6c307ca37726d85946a5d7cb.tar.bz2 online_test-800bc1c002b4a57f6c307ca37726d85946a5d7cb.zip |
Fix conflicts
Diffstat (limited to 'yaksh/base_evaluator.py')
-rw-r--r-- | yaksh/base_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/base_evaluator.py b/yaksh/base_evaluator.py index 567d5ad..c7b5c54 100644 --- a/yaksh/base_evaluator.py +++ b/yaksh/base_evaluator.py @@ -44,7 +44,7 @@ class BaseEvaluator(object): """Returns a string without any null and substitute characters""" stripped = "" for c in string: - if ord(c) is not 26 and ord(c) is not 0: + if ord(c) != 26 and ord(c) != 0: stripped = stripped + c return ''.join(stripped) |