Micro-optimisation

This commit is contained in:
Kovid Goyal 2024-11-13 08:28:37 +05:30
parent 80ac7d893a
commit 3959627970
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -59,7 +59,8 @@ class TranslatedStringWithRaw(str):
def _(txt):
return TranslatedStringWithRaw(txt, xlated(txt), txt, xlated(txt))
translated = xlated(txt)
return TranslatedStringWithRaw(txt, translated, txt, translated)
class StoredObjectType(Enum):