Mercurial > kallithea
comparison rhodecode/lib/vcs/subprocessio.py @ 3895:e39fb661998b beta
small docstring fixes
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 22 May 2013 22:46:51 +0200 |
parents | b84c83b651de |
children | ffd45b185016 |
comparison
equal
deleted
inserted
replaced
3894:9345065b03c0 | 3895:e39fb661998b |
---|---|
232 """ | 232 """ |
233 Done_reding does not mean that the iterator's buffer is empty. | 233 Done_reding does not mean that the iterator's buffer is empty. |
234 Iterator might have done reading from underlying source, but the read | 234 Iterator might have done reading from underlying source, but the read |
235 chunks might still be available for serving through .next() method. | 235 chunks might still be available for serving through .next() method. |
236 | 236 |
237 @return An Event class instance. | 237 :returns: An Event class instance. |
238 """ | 238 """ |
239 return self.worker.EOF | 239 return self.worker.EOF |
240 | 240 |
241 @property | 241 @property |
242 def done_reading(self): | 242 def done_reading(self): |
243 """ | 243 """ |
244 Done_reding does not mean that the iterator's buffer is empty. | 244 Done_reding does not mean that the iterator's buffer is empty. |
245 Iterator might have done reading from underlying source, but the read | 245 Iterator might have done reading from underlying source, but the read |
246 chunks might still be available for serving through .next() method. | 246 chunks might still be available for serving through .next() method. |
247 | 247 |
248 @return An Bool value. | 248 :returns: An Bool value. |
249 """ | 249 """ |
250 return self.worker.EOF.is_set() | 250 return self.worker.EOF.is_set() |
251 | 251 |
252 @property | 252 @property |
253 def length(self): | 253 def length(self): |