summaryrefslogtreecommitdiffstats
path: root/Doc/library/dbm.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-08-31 13:59:52 (GMT)
committerGitHub <noreply@github.com>2021-08-31 13:59:52 (GMT)
commit3c65457156d87e55010507d616b4eecb7a02883d (patch)
treea472bfd630afb07817c381852549f24bdfb9d01f /Doc/library/dbm.rst
parent08767c73b5bf1f28792d5fef7f41d52822a4989f (diff)
downloadcpython-3c65457156d87e55010507d616b4eecb7a02883d.zip
cpython-3c65457156d87e55010507d616b4eecb7a02883d.tar.gz
cpython-3c65457156d87e55010507d616b4eecb7a02883d.tar.bz2
bpo-45060: Get rid of few uses of the equality operators with None (GH-28087)
Diffstat (limited to 'Doc/library/dbm.rst')
-rw-r--r--Doc/library/dbm.rst2
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)