From 00aec40d5a7cffeeee9024a2d5f4aa1c1e52866e Mon Sep 17 00:00:00 2001 From: Steven Myint Date: Tue, 8 Oct 2013 20:00:10 -0700 Subject: Update John Malkovich too --- examples/python.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/python.py b/examples/python.py index d8ad7f4..44c15e1 100755 --- a/examples/python.py +++ b/examples/python.py @@ -26,11 +26,11 @@ from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals -# Don't do this unless you like being John Malkovich -# c = pexpect.spawn ('/usr/bin/env python ./python.py') - import pexpect +# Don't do this unless you like being John Malkovich +# c = pexpect.spawnu('/usr/bin/env python ./python.py') + # Note that, for Python 3 compatibility reasons, we are using spawnu and # importing unicode_literals (above). spawnu accepts Unicode input and # unicode_literals makes all string literals in this script Unicode by default. -- cgit v1.2.1