From ceddce9a741c87324b52b039eede12abdcca8155 Mon Sep 17 00:00:00 2001 From: Crista Lopes Date: Thu, 26 Dec 2013 09:09:45 -0800 Subject: [PATCH] Minor cosmetic --- 13-bulletin-board/tf-13.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/13-bulletin-board/tf-13.py b/13-bulletin-board/tf-13.py index 45e41ff..d08a14f 100755 --- a/13-bulletin-board/tf-13.py +++ b/13-bulletin-board/tf-13.py @@ -20,9 +20,8 @@ class EventManager: for h in self._subscriptions[event_type]: h(event) - # -# The "agents" +# The application entities # class DataStorage: """ Models the contents of the file """ @@ -39,7 +38,6 @@ class DataStorage: self._data = pattern.sub(' ', self._data).lower() def produce_words(self, event): - """ Yields the list words in storage, one word at a time """ data_str = ''.join(self._data) for w in data_str.split(): self._event_manager.publish(('word', w))