From dc7c787e4787abc1c9cff3d87c98cc165d1a4406 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 5 Jul 2015 18:14:34 +0200 Subject: [PATCH] docs: Add versionadded to httpclient functions --- mopidy/httpclient.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mopidy/httpclient.py b/mopidy/httpclient.py index 54f39ca3..682a78bd 100644 --- a/mopidy/httpclient.py +++ b/mopidy/httpclient.py @@ -15,6 +15,8 @@ def format_proxy(proxy_config, auth=True): You can also opt out of getting the basic auth by setting ``auth`` to :class:`False`. + + .. versionadded:: 1.1 """ if not proxy_config.get('hostname'): return None @@ -39,6 +41,8 @@ def format_user_agent(name=None): This will identify use by the provided ``name`` (which should be on the format ``dist_name/version``), Mopidy version and Python version. + + .. versionadded:: 1.1 """ parts = ['Mopidy/%s' % (mopidy.__version__), '%s/%s' % (platform.python_implementation(),