Use identity operator is when comparing to None

This commit is contained in:
johnthagen
2017-10-08 19:46:58 -04:00
parent 650b1b1f3a
commit d9e6703834

View File

@@ -498,7 +498,7 @@ class RustBuild(object):
If the key does not exists, the result is None:
>>> rb.get_toml("key3") == None
>>> rb.get_toml("key3") is None
True
"""
for line in self.config_toml.splitlines():