Draft: Fix 'testing inequality to None' syntax (#7275)
* Draft: Fix 'testing inequality to None' syntax - Substitute `is not None` for `!= None` - Trim trailing whitespace on touched files
This commit is contained in:
@@ -84,7 +84,7 @@ def make_rectangle(length, height=0, placement=None, face=None, support=None):
|
||||
obj.Height = height
|
||||
obj.Support = support
|
||||
|
||||
if face != None:
|
||||
if face is not None:
|
||||
obj.MakeFace = face
|
||||
|
||||
if placement: obj.Placement = placement
|
||||
|
||||
Reference in New Issue
Block a user