diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-04 01:13:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-04 01:13:00 (GMT) |
commit | e2b29304137e6253b7bb89c180ef5d113d60b4eb (patch) | |
tree | 3164873032e2529360dc8b71a897c35c7f0309a3 /Doc | |
parent | 2a8956c268772fd31aeeb6ee522f123af94a2926 (diff) | |
download | cpython-e2b29304137e6253b7bb89c180ef5d113d60b4eb.zip cpython-e2b29304137e6253b7bb89c180ef5d113d60b4eb.tar.gz cpython-e2b29304137e6253b7bb89c180ef5d113d60b4eb.tar.bz2 |
[3.10] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28092)
(cherry picked from commit 3c65457156d87e55010507d616b4eecb7a02883d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc')
-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) |