Diff of /pyke/ask_tty.py [9ac085] .. [0176eb] Maximize Restore

  Switch to side-by-side view

--- a/pyke/ask_tty.py
+++ b/pyke/ask_tty.py
@@ -43,7 +43,7 @@
 import itertools
 from pyke import qa_helpers
 
-encoding = 'UTF-8'
+encoding = None         # probably not needed with Python3.x...
 
 # The answer has been converted to lowercase before these matches:
 yes_match = ('y', 'yes', 't', 'true')
@@ -176,7 +176,7 @@
         >>> sys.stdin = StringIO('yes\n')
         >>> ask_string(u'enter string?')
         ______________________________________________________________________________
-        enter string? u'yes'
+        enter string? 'yes'
     '''
     return get_answer(question, qa_helpers.match_prompt(match, str, u"[%s]",
                                                         u''),