diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 03:37:02 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 03:37:02 (GMT) |
commit | b362f75f6e5d8fe21d0cda740f9dcdf1976091f7 (patch) | |
tree | 1b7f020b0403e2378879af5c7e3cdeba27990dc2 /Lib/ftplib.py | |
parent | 8c6849bfe6ccc0e508e23df385b4ca61c7e00236 (diff) | |
download | cpython-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.zip cpython-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.tar.gz cpython-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.tar.bz2 |
Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
Diffstat (limited to 'Lib/ftplib.py')
-rw-r--r-- | Lib/ftplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ftplib.py b/Lib/ftplib.py index 449ce71..3739741 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -264,7 +264,7 @@ class FTP: return self.voidcmd(cmd) def sendeprt(self, host, port): - '''Send a EPRT command with the current host and the given port number.''' + '''Send an EPRT command with the current host and the given port number.''' af = 0 if self.af == socket.AF_INET: af = 1 @@ -842,7 +842,7 @@ def parse227(resp): def parse229(resp, peer): - '''Parse the '229' response for a EPSV request. + '''Parse the '229' response for an EPSV request. Raises error_proto if it does not contain '(|||port|)' Return ('host.addr.as.numbers', port#) tuple.''' |