commit 337c27ca707fc3087cb061c32b9832279040a6fb
Author: Sebastian Hahn <sebastian(a)torproject.org>
Date: Mon Feb 9 20:32:13 2015 +0100
Fix a doc typo
---
docs/faq.rst | 2 +-
stem/util/connection.py | 2 +-
test/unit/util/connection.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/faq.rst b/docs/faq.rst
index 08781be..3fc6166 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -397,7 +397,7 @@ the following...
with Controller.from_port(port = 9051) as controller:
# do my stuff
-... is equivialnt to...
+... is equivalent to...
.. code-block:: python
diff --git a/stem/util/connection.py b/stem/util/connection.py
index a7b979a..200699a 100644
--- a/stem/util/connection.py
+++ b/stem/util/connection.py
@@ -260,7 +260,7 @@ def system_resolvers(system = None):
elif system in ('Darwin', 'OpenBSD'):
resolvers = [Resolver.LSOF]
elif system == 'FreeBSD':
- # Netstat is available, but lacks a '-p' equivilant so we can't associate
+ # Netstat is available, but lacks a '-p' equivalent so we can't associate
# the results to processes. The platform also has a ss command, but it
# belongs to a spreadsheet application.
diff --git a/test/unit/util/connection.py b/test/unit/util/connection.py
index 582e747..b6995d0 100644
--- a/test/unit/util/connection.py
+++ b/test/unit/util/connection.py
@@ -124,7 +124,7 @@ class TestConnection(unittest.TestCase):
proc_mock.return_value = True
self.assertEqual([Resolver.PROC, Resolver.NETSTAT, Resolver.SOCKSTAT, Resolver.LSOF, Resolver.SS], stem.util.connection.system_resolvers('Linux'))
- # check that calling without an argument is equivilant to calling for this
+ # check that calling without an argument is equivalent to calling for this
# platform
self.assertEqual(stem.util.connection.system_resolvers(platform.system()), stem.util.connection.system_resolvers())