[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Added missing versionadded tags



commit bbaa4c85bd5d3fabf43bc1e899e234aefa111235
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sat May 31 12:17:27 2014 -0700

    Added missing versionadded tags
    
    We were missing a handful of versionadded tags for things being added in 1.2.0.
---
 stem/connection.py      |    2 ++
 stem/control.py         |    4 ++++
 stem/util/test_tools.py |    2 ++
 stem/util/tor_tools.py  |    2 ++
 4 files changed, 10 insertions(+)

diff --git a/stem/connection.py b/stem/connection.py
index d807bcf..4bfcd5c 100644
--- a/stem/connection.py
+++ b/stem/connection.py
@@ -214,6 +214,8 @@ def connect(control_port = ('127.0.0.1', 9051), control_socket = '/var/run/tor/c
   details of how this works. Messages and details of this function's behavior
   could change in the future.
 
+  .. versionadded:: 1.2.0
+
   :param tuple contol_port: address and port tuple, for instance **('127.0.0.1', 9051)**
   :param str path: path where the control socket is located
   :param str password: passphrase to authenticate to the socket
diff --git a/stem/control.py b/stem/control.py
index 78e949c..30cb1b8 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -1047,6 +1047,8 @@ class Controller(BaseController):
     :func:`~stem.control.Controller.get_listeners`, but doesn't provide
     addresses nor include non-local endpoints.
 
+    .. versionadded:: 1.2.0
+
     :param stem.control.Listener listener_type: connection type being handled
       by the ports we return
     :param object default: response if the query fails
@@ -1073,6 +1075,8 @@ class Controller(BaseController):
     :func:`~stem.control.Controller.get_ports` but includes listener addresses
     and non-local endpoints.
 
+    .. versionadded:: 1.2.0
+
     :param stem.control.Listener listener_type: connection type being handled
       by the listeners we return
     :param object default: response if the query fails
diff --git a/stem/util/test_tools.py b/stem/util/test_tools.py
index cd94ff5..c976128 100644
--- a/stem/util/test_tools.py
+++ b/stem/util/test_tools.py
@@ -4,6 +4,8 @@
 """
 Helper functions for testing.
 
+.. versionadded:: 1.2.0
+
 ::
 
   clean_orphaned_pyc - delete *.pyc files without corresponding *.py
diff --git a/stem/util/tor_tools.py b/stem/util/tor_tools.py
index aae7426..9eb46a0 100644
--- a/stem/util/tor_tools.py
+++ b/stem/util/tor_tools.py
@@ -4,6 +4,8 @@
 """
 Miscellaneous utility functions for working with tor.
 
+.. versionadded:: 1.2.0
+
 **Module Overview:**
 
 ::



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits