summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-07-18 19:48:46 (GMT)
committerGuido van Rossum <guido@python.org>2002-07-18 19:48:46 (GMT)
commit0d7b8bc772c8ca7962c58a917bf7e074b0ad3dd2 (patch)
tree8c04011134b317c7e7f29c2469ba148e60a4e809
parent0d7e68adf20a95d360391f3e6216ed5ad43623f1 (diff)
downloadcpython-0d7b8bc772c8ca7962c58a917bf7e074b0ad3dd2.zip
cpython-0d7b8bc772c8ca7962c58a917bf7e074b0ad3dd2.tar.gz
cpython-0d7b8bc772c8ca7962c58a917bf7e074b0ad3dd2.tar.bz2
Add clarifying comment.
-rw-r--r--Lib/hotshot/log.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/hotshot/log.py b/Lib/hotshot/log.py
index 5c01996..7d6d91d 100644
--- a/Lib/hotshot/log.py
+++ b/Lib/hotshot/log.py
@@ -95,6 +95,7 @@ class LogReader:
def next(self, index=0):
while 1:
+ # This call may raise StopIteration:
what, tdelta, fileno, lineno = self._nextitem()
# handle the most common cases first