diff options
author | digitalfrost <gerald.hofmaier@gmail.com> | 2022-08-08 10:28:26 +0300 |
---|---|---|
committer | digitalfrost <gerald.hofmaier@gmail.com> | 2022-08-08 10:28:26 +0300 |
commit | d65e198e8c400199f4761ef0a727354de43b2355 (patch) | |
tree | f48f78efe7c87725d4436c869667d2f24900cb9c | |
parent | 2f9e5b00bb2429804cc8f49c4a76a41009611beb (diff) |
Use is not operator rather than not ...is
This is advocated by both PEP8 and the Google Python Style Guide
-rw-r--r-- | plugins/X3DReader/X3DReader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/X3DReader/X3DReader.py b/plugins/X3DReader/X3DReader.py index e62c0886be..bf1966d013 100644 --- a/plugins/X3DReader/X3DReader.py +++ b/plugins/X3DReader/X3DReader.py @@ -703,7 +703,7 @@ class X3DReader(MeshReader): for c in node: if c.tag == "Coordinate": c = self.resolveDefUse(c) - if not c is None: + if c is not None: pt = c.attrib.get("point") if pt: # allow the list of float values in 'point' attribute to |