summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Quast <contact@jeffquast.com>2014-06-24 21:23:52 +0000
committerJeff Quast <contact@jeffquast.com>2014-06-24 21:23:52 +0000
commit91d17a7192fe80879474587d7f1b7610d31bf782 (patch)
treed42d30a69af1d62e6834116bfb4b9d683d3144ac
parenta21580e775c577843071b83232232b7a604b6e2d (diff)
downloadpexpect-git-91d17a7192fe80879474587d7f1b7610d31bf782.tar.gz
Provide example of SRV4-like systems
-rw-r--r--pexpect/__init__.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pexpect/__init__.py b/pexpect/__init__.py
index a468667..468c4c2 100644
--- a/pexpect/__init__.py
+++ b/pexpect/__init__.py
@@ -786,9 +786,10 @@ class spawn(object):
'''This returns True if the file descriptor is open and connected to a
tty(-like) device, else False.
- On SRV4-style platforms implementing streams, the child pty does not
- appear as a terminal device. This means methods such as setecho(),
- setwinsize(), getwinsize() may raise an IOError. '''
+ On SVR4-style platforms implementing streams, such as SunOS and HP-UX,
+ the child pty may not appear as a terminal device. This means
+ methods such as setecho(), setwinsize(), getwinsize() may raise an
+ IOError. '''
return os.isatty(self.child_fd)