mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Make i18n.InternationalizeString use less memory.
This commit is contained in:
parent
de3265ed58
commit
38e7589ff3
@ -353,7 +353,7 @@ class InternationalizedFunction:
|
||||
class InternationalizedString(str):
|
||||
"""Simple subclass to str, that allow to add attributes. Also used to
|
||||
know if a string is already localized"""
|
||||
pass
|
||||
__slots__ = ('_original', '_internationalizer')
|
||||
|
||||
def internationalizeDocstring(obj):
|
||||
"""Decorates functions and internationalize their docstring.
|
||||
|
Loading…
Reference in New Issue
Block a user