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

[tor-commits] [stem/master] Unused variable in example



commit 93d92a0307810dcc7ab1c7c640d19182e86cb06b
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Tue Dec 12 09:54:09 2017 -0800

    Unused variable in example
    
    Oops, forgot to remove this while fiddling with the example.
---
 docs/_static/example/words_with.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/docs/_static/example/words_with.py b/docs/_static/example/words_with.py
index b7956cb2..ae616f9e 100644
--- a/docs/_static/example/words_with.py
+++ b/docs/_static/example/words_with.py
@@ -15,7 +15,6 @@ def get_words_with(target, attr):
   :returns: **iterable** with words containing that substring
   """
 
-  matches = []
   word_matcher = re.compile('(.*)(%s)(.*)' % target, re.I)
 
   with open('/etc/dictionaries-common/words') as dictionary_file:

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