mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Dont use equality operators with None singleton in python files
This commit is contained in:
parent
970b58148f
commit
edcca5f7ad
9 changed files with 15 additions and 15 deletions
|
@ -82,7 +82,7 @@ def find_signal_descr(old_class, name):
|
|||
|
||||
def find_constant_descr(old_class, name):
|
||||
|
||||
if (old_class == None):
|
||||
if (old_class is None):
|
||||
return None
|
||||
constants = old_class.find("constants")
|
||||
if(constants != None and len(list(constants)) > 0):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue