Fix a few grammar problems in the documentation and comments

This commit is contained in:
Martin Panter 2015-11-14 01:07:43 +00:00
parent ac34e09bbf
commit 2e4571a456
5 changed files with 7 additions and 7 deletions

View file

@ -104,7 +104,7 @@ The abstract grammar is currently defined as follows:
:mod:`ast` Helpers
------------------
Apart from the node classes, :mod:`ast` module defines these utility functions
Apart from the node classes, the :mod:`ast` module defines these utility functions
and classes for traversing abstract syntax trees:
.. function:: parse(source, filename='<unknown>', mode='exec')

View file

@ -67,8 +67,8 @@ of lists by assigning a slice of the entire list, for example,
Classes can use the same interfaces to control copying that they use to control
pickling. See the description of module :mod:`pickle` for information on these
methods. In fact, :mod:`copy` module uses the registered pickle functions from
:mod:`copyreg` module.
methods. In fact, the :mod:`copy` module uses the registered
pickle functions from the :mod:`copyreg` module.
.. index::
single: __copy__() (copy protocol)

View file

@ -418,8 +418,8 @@ FTP_TLS Objects
.. method:: FTP_TLS.auth()
Set up secure control connection by using TLS or SSL, depending on what
specified in :meth:`ssl_version` attribute.
Set up a secure control connection by using TLS or SSL, depending on what
is specified in the :attr:`ssl_version` attribute.
.. versionchanged:: 3.4
The method now supports hostname check with