diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-01 06:51:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 06:51:01 (GMT) |
commit | e09dd8aafd6f9aef03945c417267806d47084a5d (patch) | |
tree | 3dcd99d66fadc1320794057aa43ff21da7fdf36e /Doc/library/dbm.rst | |
parent | e527f79fa8b472dd534fc360e998fe8213e6471e (diff) | |
download | cpython-e09dd8aafd6f9aef03945c417267806d47084a5d.zip cpython-e09dd8aafd6f9aef03945c417267806d47084a5d.tar.gz cpython-e09dd8aafd6f9aef03945c417267806d47084a5d.tar.bz2 |
[3.9] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28093)
(cherry picked from commit 3c65457156d87e55010507d616b4eecb7a02883d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/library/dbm.rst')
-rw-r--r-- | Doc/library/dbm.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst index 57ae547..ff01ae9 100644 --- a/Doc/library/dbm.rst +++ b/Doc/library/dbm.rst @@ -216,7 +216,7 @@ supported. contains them all:: k = db.firstkey() - while k != None: + while k is not None: print(k) k = db.nextkey(k) |