[stem/master] Fix wording of DocumentHandler addition

commit 0b7199d221b942bd4b562b3707bda109ad58c5da Author: Damian Johnson <atagar@torproject.org> Date: Sat Dec 23 17:06:56 2017 -0800 Fix wording of DocumentHandler addition Shame on me for not proof reading it. --- stem/descriptor/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stem/descriptor/__init__.py b/stem/descriptor/__init__.py index 158f1a4f..273334e8 100644 --- a/stem/descriptor/__init__.py +++ b/stem/descriptor/__init__.py @@ -29,9 +29,10 @@ Package for parsing and processing descriptor data. and upfront runtime. However, if read time and memory aren't a concern then **DOCUMENT** can provide you with a fully populated document. - This handler doesn't change the fact that provide descriptors return an - iterator. In the case of **DOCUMENT** and **BARE_DOCUMENT** that iterator - would have just a single item - the document itself. + Handlers don't change the fact that most methods that provide + descriptors return an iterator. In the case of **DOCUMENT** and + **BARE_DOCUMENT** that iterator would have just a single item - + the document itself. Simple way to handle this is to call **next()** to get the iterator's one and only value...
participants (1)
-
atagar@torproject.org