summaryrefslogtreecommitdiff
path: root/sphinx/application.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-14 11:18:28 +0100
committerGeorg Brandl <georg@python.org>2010-01-14 11:18:28 +0100
commit9589493115cdd7d2fd3efa5d19600441c9472cc1 (patch)
tree5a094b2105e50bd13cfcd0decde1104bfe41e6ae /sphinx/application.py
parent0403e0c5c144f170c35625c1b03d02b020eabf6d (diff)
downloadsphinx-9589493115cdd7d2fd3efa5d19600441c9472cc1.tar.gz
Fix docs of emit_firstresult().
Diffstat (limited to 'sphinx/application.py')
-rw-r--r--sphinx/application.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/application.py b/sphinx/application.py
index 61c3b05a..758dd6ad 100644
--- a/sphinx/application.py
+++ b/sphinx/application.py
@@ -274,11 +274,11 @@ class Sphinx(object):
event.pop(listener_id, None)
def emit(self, event, *args):
- result = []
+ results = []
if event in self._listeners:
for _, callback in self._listeners[event].iteritems():
- result.append(callback(self, *args))
- return result
+ results.append(callback(self, *args))
+ return results
def emit_firstresult(self, event, *args):
for result in self.emit(event, *args):