Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-05-28 09:05:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-05-28 09:58:50 +0300
commit3bee77bb7c234832b9ca00222e1e90a24f6437b0 (patch)
treee2795ffc68e4d18487b352e93e1405fe56ed83d1 /source/blender/python
parent6b03621c018acc3b343caa1d8d2aad746fcffc08 (diff)
Cleanup: use static set syntax
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/rna_dump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/rna_dump.py b/source/blender/python/rna_dump.py
index 7d469d20110..bd45a36e8a4 100644
--- a/source/blender/python/rna_dump.py
+++ b/source/blender/python/rna_dump.py
@@ -62,7 +62,7 @@ def seek(r, txt, recurs):
# print(dir(r))
# basic types
- if type_r in (float, int, bool, type(None)):
+ if type_r in {float, int, bool, type(None)}:
if PRINT_DATA:
print(txt + ' -> ' + str(r))
return