diff options
author | Thomas Kluyver <takowl@gmail.com> | 2015-09-12 11:36:21 +0100 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2015-09-12 11:36:21 +0100 |
commit | 84ffcdb864d3191f8e25a36799a80948ea7bba3f (patch) | |
tree | 8a2396f491052aff60f4f98d7121e479b2764840 | |
parent | eee85ecfeda167dd07e3abeaffcf8c51a6b0d5a8 (diff) | |
download | pexpect-git-84ffcdb864d3191f8e25a36799a80948ea7bba3f.tar.gz |
Update docstring mention of unicode interface
-rw-r--r-- | pexpect/pty_spawn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/pty_spawn.py b/pexpect/pty_spawn.py index cdbb54f..6fac890 100644 --- a/pexpect/pty_spawn.py +++ b/pexpect/pty_spawn.py @@ -117,7 +117,7 @@ class spawn(SpawnBase): child = pexpect.spawn('some_command') child.logfile_read = sys.stdout - Remember to use spawnu instead of spawn for the above code if you are + You will need to pass an encoding to spawn in the above code if you are using Python 3. To separately log output sent to the child use logfile_send:: |