Skip to content

Commit d9e6703

Browse files
committed
Use identity operator is when comparing to None
1 parent 650b1b1 commit d9e6703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/bootstrap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def get_toml(self, key):
498498
499499
If the key does not exists, the result is None:
500500
501-
>>> rb.get_toml("key3") == None
501+
>>> rb.get_toml("key3") is None
502502
True
503503
"""
504504
for line in self.config_toml.splitlines():

0 commit comments

Comments
 (0)