changeset 478:9cc7631bb2cb

explain use of displauhook in test script
author sheep@ghostwheel
date Sun, 05 Oct 2008 19:20:45 +0200
parents 7cc1359eb4fb
children 3aadd1f08e2e
files test.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test.py	Sun Oct 05 19:19:29 2008 +0200
+++ b/test.py	Sun Oct 05 19:20:45 2008 +0200
@@ -6,6 +6,7 @@
 import sys
 
 def displayhook(value):
+    """Prevent using _ as it conflicts with gettext"""
     if value is not None:
         print repr(value)