From 176959cbb8b91e7289bf81023512869550ac21c5 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Mon, 28 Dec 2015 15:34:11 +0000 Subject: 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 --- oslo_i18n/_factory.py | 4 ++++ 1 file changed, 4 insertions(+) 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() -- cgit v1.2.1