diff options
author | Doug Hellmann <doug@doughellmann.com> | 2015-12-28 15:34:11 +0000 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2015-12-28 15:34:11 +0000 |
commit | 176959cbb8b91e7289bf81023512869550ac21c5 (patch) | |
tree | 89b8b37eb4389145a0faa5e3344a5da60ab157be | |
parent | e749d84f3b3742cb1d96810a07a7d7fb9f17e768 (diff) | |
download | oslo-i18n-176959cbb8b91e7289bf81023512869550ac21c5.tar.gz |
add versionadded designations to newer functions
The base patch for this one adds a note to the guidelines. This patch
adds similar information to the API reference.
Change-Id: I6e21db2dd571aab3d33a97d93d989f986517d802
-rw-r--r-- | oslo_i18n/_factory.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/oslo_i18n/_factory.py b/oslo_i18n/_factory.py index 7d6c7e4..c732b01 100644 --- a/oslo_i18n/_factory.py +++ b/oslo_i18n/_factory.py @@ -163,6 +163,8 @@ class TranslatorFactory(object): The returned function takes two values, the context of the unicode string, the unicode string to be translated. + .. versionadded:: 2.1.0 + """ return self._make_contextual_translation_func() @@ -174,6 +176,8 @@ class TranslatorFactory(object): the unicode string, the plural form of the unicode string, the count of items to be translated. + .. versionadded:: 2.1.0 + """ return self._make_plural_translation_func() |