add clarifying comment as per review

This commit is contained in:
Cosimo Lupo 2022-03-18 09:22:33 +00:00
parent ab8fc321a7
commit 25746a3600

View File

@ -905,7 +905,9 @@ class FormatSwitchingBaseTable(BaseTable):
except AttributeError: except AttributeError:
# some FormatSwitchingBaseTables (e.g. Coverage) no longer have 'Format' # some FormatSwitchingBaseTables (e.g. Coverage) no longer have 'Format'
# attribute after fully decompiled, only gain one in preWrite before being # attribute after fully decompiled, only gain one in preWrite before being
# recompiled. # recompiled. In the decompiled state, these hand-coded classes defined in
# otTables.py lose their format-specific nature and gain more high-level
# attributes that are not tied to converters.
return [] return []
return self.converters.get(self.Format, []) return self.converters.get(self.Format, [])