mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-02 08:08:20 +00:00
Use frozenset more consistently
This commit is contained in:
parent
d9938f1a37
commit
4fd4bf71aa
6 changed files with 23 additions and 23 deletions
|
@ -21,7 +21,7 @@ import sys
|
|||
from strutil import *
|
||||
strutil_used
|
||||
|
||||
_exclusions = frozenset(('nt','t','name','value','ch', 'X','SEF'))
|
||||
_exclusions = frozenset({'nt','t','name','value','ch', 'X','SEF'})
|
||||
|
||||
# Node Record type. Used for AST nodes.
|
||||
class nr(object):
|
||||
|
@ -102,8 +102,8 @@ DataPath = ''
|
|||
|
||||
# These are hardcoded because additions or modifications imply
|
||||
# important changes to the code anyway.
|
||||
types = frozenset(('integer','float','string','key','vector',
|
||||
'quaternion','rotation','list'))
|
||||
types = frozenset({'integer','float','string','key','vector',
|
||||
'quaternion','rotation','list'})
|
||||
|
||||
# Conversion of LSL types to Python types and vice versa.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue