88# This program is Free Software and is released under the terms of
99# the GNU General License
1010# ----------------------------------------------------------------------
11- from typing import Dict , List , NamedTuple , Optional , Set , Final
11+ from typing import Dict , Final , List , NamedTuple , Optional , Set
1212
1313from src .api .constants import TYPE , LoopType
1414from src .api .opcodestemps import OpcodesTemps
1515
16-
1716# ----------------------------------------------------------------------
1817# Simple global container for internal constants.
1918# Internal constants might be architecture dependant. They're set
@@ -116,9 +115,9 @@ class LoopInfo(NamedTuple):
116115BOUND_TYPE = None # Set to None, so if not set will raise error
117116
118117# ----------------------------------------------------------------------
119- # Data type used for elements size. Must be an integral
118+ # Data type used for elements size. Must be an integral type
120119# ----------------------------------------------------------------------
121- SIZE_TYPE : Final [ TYPE ] = TYPE .ubyte
120+ SIZE_TYPE : TYPE = TYPE .ubyte
122121
123122# ----------------------------------------------------------------------
124123# CORE namespace (for core runtime library, like FP Calc)
@@ -145,7 +144,7 @@ class LoopInfo(NamedTuple):
145144# ----------------------------------------------------------------------
146145# Data Type used for string chars index. Must be an integral
147146# ----------------------------------------------------------------------
148- STR_INDEX_TYPE : Final [ TYPE ] = TYPE .uinteger
147+ STR_INDEX_TYPE : TYPE = TYPE .uinteger
149148
150149# ----------------------------------------------------------------------
151150# MIN and MAX str slice index
0 commit comments