From 0d7b8bc772c8ca7962c58a917bf7e074b0ad3dd2 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 18 Jul 2002 19:48:46 +0000 Subject: Add clarifying comment. --- Lib/hotshot/log.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v0.12