diff options
author | johnthagen <johnthagen@gmail.com> | 2017-10-08 19:46:58 -0400 |
---|---|---|
committer | johnthagen <johnthagen@gmail.com> | 2017-10-08 19:46:58 -0400 |
commit | d9e67038346d0b3f6509c7d881f1dc63b04cd160 (patch) | |
tree | 1ff91fae4254cc34ab17da383fee46a40ca4a37a | |
parent | 650b1b1f3a41aa747da37dea3b32108b08146075 (diff) | |
download | rust-d9e67038346d0b3f6509c7d881f1dc63b04cd160.tar.gz |
Use identity operator `is` when comparing to None
-rw-r--r-- | src/bootstrap/bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 4a8c3dcebcb..25768867439 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -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(): |