mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
#2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch
This commit is contained in:
parent
672fbf5195
commit
5b63acd31e
54 changed files with 140 additions and 141 deletions
|
|
@ -546,7 +546,7 @@ else:
|
|||
expectedToWork,
|
||||
certsreqs=None):
|
||||
|
||||
if certsreqs == None:
|
||||
if certsreqs is None:
|
||||
certsreqs = ssl.CERT_NONE
|
||||
|
||||
if certsreqs == ssl.CERT_NONE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue