mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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
|
@ -183,7 +183,7 @@ class PackageMaker:
|
|||
|
||||
# set folder attributes
|
||||
self.sourceFolder = root
|
||||
if resources == None:
|
||||
if resources is None:
|
||||
self.resourceFolder = root
|
||||
else:
|
||||
self.resourceFolder = resources
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue