mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-45060: Get rid of few uses of the equality operators with None (GH-28087)
This commit is contained in:
parent
08767c73b5
commit
3c65457156
9 changed files with 13 additions and 13 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue