summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/history.rst2
-rw-r--r--doc/index.rst2
-rw-r--r--doc/overview.rst2
-rw-r--r--pexpect/__init__.py2
-rw-r--r--pexpect/spawnbase.py2
-rw-r--r--setup.py2
6 files changed, 6 insertions, 6 deletions
diff --git a/doc/history.rst b/doc/history.rst
index 7947ff5..68b5af1 100644
--- a/doc/history.rst
+++ b/doc/history.rst
@@ -44,7 +44,7 @@ Version 4.6
* The :meth:`.pxssh.login` method now supports an ``ssh_config`` parameter,
which can be used to specify a file path to an SSH config file
(:ghpull:`490`).
-* Improved compatability for the ``crlf`` parameter of :class:`~.PopenSpawn`
+* Improved compatibility for the ``crlf`` parameter of :class:`~.PopenSpawn`
(:ghpull:`493`)
* Fixed an issue in read timeout handling when using :class:`~.spawn` and
:class:`~.fdspawn` with the ``use_poll`` parameter (:ghpull:`492`).
diff --git a/doc/index.rst b/doc/index.rst
index 0bcf862..83bb7f2 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -16,7 +16,7 @@ spawn a child application and control it as if a human were typing
commands.
Pexpect can be used for automating interactive applications such as
-ssh, ftp, passwd, telnet, etc. It can be used to a automate setup
+ssh, ftp, passwd, telnet, etc. It can be used to automate setup
scripts for duplicating software package installations on different
servers. It can be used for automated software testing. Pexpect is in
the spirit of Don Libes' Expect, but Pexpect is pure Python. Unlike
diff --git a/doc/overview.rst b/doc/overview.rst
index fcfe195..8e47ed0 100644
--- a/doc/overview.rst
+++ b/doc/overview.rst
@@ -162,7 +162,7 @@ to perform a regular expression match on a stream. Regular expressions need to
look ahead. With a stream it is hard to look ahead because the process
generating the stream may not be finished. There is no way to know if the
process has paused momentarily or is finished and waiting for you. Pexpect must
-implicitly always do a NON greedy match (minimal) at the end of a input.
+implicitly always do a NON greedy match (minimal) at the end of input.
Pexpect compiles all regular expressions with the :data:`re.DOTALL` flag.
With the :data:`~re.DOTALL` flag, a ``"."`` will match a newline.
diff --git a/pexpect/__init__.py b/pexpect/__init__.py
index 7e30453..b3a64b6 100644
--- a/pexpect/__init__.py
+++ b/pexpect/__init__.py
@@ -1,6 +1,6 @@
'''Pexpect is a Python module for spawning child applications and controlling
them automatically. Pexpect can be used for automating interactive applications
-such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup
+such as ssh, ftp, passwd, telnet, etc. It can be used to automate setup
scripts for duplicating software package installations on different servers. It
can be used for automated software testing. Pexpect is in the spirit of Don
Libes' Expect, but Pexpect is pure Python. Other Expect-like modules for Python
diff --git a/pexpect/spawnbase.py b/pexpect/spawnbase.py
index 59e9057..aacb63a 100644
--- a/pexpect/spawnbase.py
+++ b/pexpect/spawnbase.py
@@ -153,7 +153,7 @@ class SpawnBase(object):
self._buffer = self.buffer_type()
self._buffer.write(value)
- # This property is provided for backwards compatability (self.buffer used
+ # This property is provided for backwards compatibility (self.buffer used
# to be a string/bytes object)
buffer = property(_get_buffer, _set_buffer)
diff --git a/setup.py b/setup.py
index 23ba4be..a08416a 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ Don Libes' Expect. Pexpect allows your script to spawn a child application and
control it as if a human were typing commands.
Pexpect can be used for automating interactive applications such as ssh, ftp,
-passwd, telnet, etc. It can be used to a automate setup scripts for duplicating
+passwd, telnet, etc. It can be used to automate setup scripts for duplicating
software package installations on different servers. It can be used for
automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
Pexpect is pure Python.