Cleanup: use static set syntax

This commit is contained in:
2021-05-28 16:05:46 +10:00
parent 6b03621c01
commit 3bee77bb7c
3 changed files with 4 additions and 4 deletions

View File

@@ -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