summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2013-10-02 10:47:37 -0700
committerThomas Kluyver <takowl@gmail.com>2013-10-02 10:47:37 -0700
commitace88cb65f641e935c78a2019e75db744744bba1 (patch)
tree50610d9d670224589937c810653edff08807f819 /doc/api
parente5b2a79c475c124a3f53d090a4f3f45728eec083 (diff)
downloadpexpect-ace88cb65f641e935c78a2019e75db744744bba1.tar.gz
Add runu function (unicode interface to run())
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/pexpect.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/pexpect.rst b/doc/api/pexpect.rst
index 93e38c3..565f0ef 100644
--- a/doc/api/pexpect.rst
+++ b/doc/api/pexpect.rst
@@ -77,6 +77,8 @@ However, for a proper unicode API to a subprocess, use this subclass:
.. autoclass:: spawnu
:show-inheritance:
+There is also a :func:`runu` function, the unicode counterpart to :func:`run`.
+
.. note::
Unicode handling with pexpect works the same way on Python 2 and 3, despite
@@ -90,6 +92,8 @@ run function
.. autofunction:: run
+.. autofunction:: runu
+
Exceptions
----------