diff -r 04815b55227f Doc/c-api/code.rst --- a/Doc/c-api/code.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/c-api/code.rst Fri Oct 09 01:02:16 2015 +0900 @@ -29,7 +29,7 @@ .. c:function:: int PyCode_Check(PyObject *co) - Return true if *co* is a :class:`code` object + Return true if *co* is a :class:`code` object. .. c:function:: int PyCode_GetNumFree(PyObject *co) diff -r 04815b55227f Doc/c-api/gen.rst --- a/Doc/c-api/gen.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/c-api/gen.rst Fri Oct 09 01:02:16 2015 +0900 @@ -17,7 +17,7 @@ .. c:var:: PyTypeObject PyGen_Type - The type object corresponding to generator objects + The type object corresponding to generator objects. .. c:function:: int PyGen_Check(ob) diff -r 04815b55227f Doc/c-api/veryhigh.rst --- a/Doc/c-api/veryhigh.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/c-api/veryhigh.rst Fri Oct 09 01:02:16 2015 +0900 @@ -168,7 +168,7 @@ .. c:function:: struct _node* PyParser_SimpleParseFile(FILE *fp, const char *filename, int start) This is a simplified interface to :c:func:`PyParser_SimpleParseFileFlags` below, - leaving *flags* set to ``0`` + leaving *flags* set to ``0``. .. c:function:: struct _node* PyParser_SimpleParseFileFlags(FILE *fp, const char *filename, int start, int flags) diff -r 04815b55227f Doc/distutils/apiref.rst --- a/Doc/distutils/apiref.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/distutils/apiref.rst Fri Oct 09 01:02:16 2015 +0900 @@ -926,7 +926,7 @@ Walk two filename lists in parallel, testing if each source is newer than its corresponding target. Return a pair of lists (*sources*, *targets*) where - source is newer than target, according to the semantics of :func:`newer` + source is newer than target, according to the semantics of :func:`newer`. .. % % equivalent to a listcomp... diff -r 04815b55227f Doc/library/2to3.rst --- a/Doc/library/2to3.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/2to3.rst Fri Oct 09 01:02:16 2015 +0900 @@ -271,7 +271,7 @@ .. 2to3fixer:: input - Converts ``input(prompt)`` to ``eval(input(prompt))`` + Converts ``input(prompt)`` to ``eval(input(prompt))``. .. 2to3fixer:: intern diff -r 04815b55227f Doc/library/argparse.rst --- a/Doc/library/argparse.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/argparse.rst Fri Oct 09 01:02:16 2015 +0900 @@ -1948,4 +1948,4 @@ ``%(default)s`` and ``%(prog)s``. * Replace the OptionParser constructor ``version`` argument with a call to - ``parser.add_argument('--version', action='version', version='')`` + ``parser.add_argument('--version', action='version', version='')``. diff -r 04815b55227f Doc/library/bdb.rst --- a/Doc/library/bdb.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/bdb.rst Fri Oct 09 01:02:16 2015 +0900 @@ -223,7 +223,7 @@ .. method:: set_until(frame) Stop when the line with the line no greater than the current one is - reached or when returning from current frame + reached or when returning from current frame. .. method:: set_trace([frame]) diff -r 04815b55227f Doc/library/cookie.rst --- a/Doc/library/cookie.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/cookie.rst Fri Oct 09 01:02:16 2015 +0900 @@ -116,7 +116,7 @@ Return an encoded value. *val* can be any type, but return value must be a string. This method does nothing in :class:`BaseCookie` --- it exists so it can - be overridden + be overridden. In general, it should be the case that :meth:`value_encode` and :meth:`value_decode` are inverses on the range of *value_decode*. diff -r 04815b55227f Doc/library/cookielib.rst --- a/Doc/library/cookielib.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/cookielib.rst Fri Oct 09 01:02:16 2015 +0900 @@ -546,7 +546,7 @@ .. attribute:: DefaultCookiePolicy.strict_ns_unverifiable - apply RFC 2965 rules on unverifiable transactions even to Netscape cookies + Apply RFC 2965 rules on unverifiable transactions even to Netscape cookies. .. attribute:: DefaultCookiePolicy.strict_ns_domain diff -r 04815b55227f Doc/library/decimal.rst --- a/Doc/library/decimal.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/decimal.rst Fri Oct 09 01:02:16 2015 +0900 @@ -890,7 +890,7 @@ Engineering notation has an exponent which is a multiple of 3, so there are up to 3 digits left of the decimal place. For example, converts - ``Decimal('123E+1')`` to ``Decimal('1.23E+3')`` + ``Decimal('123E+1')`` to ``Decimal('1.23E+3')``. .. method:: to_integral([rounding[, context]]) diff -r 04815b55227f Doc/library/exceptions.rst --- a/Doc/library/exceptions.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/exceptions.rst Fri Oct 09 01:02:16 2015 +0900 @@ -496,7 +496,7 @@ .. exception:: SyntaxWarning - Base class for warnings about dubious syntax + Base class for warnings about dubious syntax. .. exception:: RuntimeWarning diff -r 04815b55227f Doc/library/fractions.rst --- a/Doc/library/fractions.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/fractions.rst Fri Oct 09 01:02:16 2015 +0900 @@ -89,7 +89,7 @@ This class method constructs a :class:`Fraction` representing the exact value of *flt*, which must be a :class:`float`. Beware that - ``Fraction.from_float(0.3)`` is not the same value as ``Fraction(3, 10)`` + ``Fraction.from_float(0.3)`` is not the same value as ``Fraction(3, 10)``. .. note:: From Python 2.7 onwards, you can also construct a :class:`Fraction` instance directly from a :class:`float`. diff -r 04815b55227f Doc/library/json.rst --- a/Doc/library/json.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/json.rst Fri Oct 09 01:02:16 2015 +0900 @@ -356,7 +356,7 @@ .. method:: decode(s) Return the Python representation of *s* (a :class:`str` or - :class:`unicode` instance containing a JSON document) + :class:`unicode` instance containing a JSON document). .. method:: raw_decode(s) diff -r 04815b55227f Doc/library/locale.rst --- a/Doc/library/locale.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/locale.rst Fri Oct 09 01:02:16 2015 +0900 @@ -208,7 +208,7 @@ .. data:: RADIXCHAR - Get the radix character (decimal dot, decimal comma, etc.) + Get the radix character (decimal dot, decimal comma, etc.). .. data:: THOUSEP diff -r 04815b55227f Doc/library/modulefinder.rst --- a/Doc/library/modulefinder.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/modulefinder.rst Fri Oct 09 01:02:16 2015 +0900 @@ -55,7 +55,7 @@ .. attribute:: modules A dictionary mapping module names to modules. See - :ref:`modulefinder-example` + :ref:`modulefinder-example`. .. _modulefinder-example: diff -r 04815b55227f Doc/library/msvcrt.rst --- a/Doc/library/msvcrt.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/msvcrt.rst Fri Oct 09 01:02:16 2015 +0900 @@ -19,7 +19,7 @@ The module implements both the normal and wide char variants of the console I/O api. The normal API deals only with ASCII characters and is of limited use for internationalized applications. The wide char API should be used where -ever possible +ever possible. .. _msvcrt-files: diff -r 04815b55227f Doc/library/multiprocessing.rst --- a/Doc/library/multiprocessing.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/multiprocessing.rst Fri Oct 09 01:02:16 2015 +0900 @@ -1705,7 +1705,7 @@ raised by :meth:`_callmethod`. Note in particular that an exception will be raised if *methodname* has - not been *exposed* + not been *exposed*. An example of the usage of :meth:`_callmethod`: diff -r 04815b55227f Doc/library/platform.rst --- a/Doc/library/platform.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/platform.rst Fri Oct 09 01:02:16 2015 +0900 @@ -126,7 +126,7 @@ .. function:: python_version() - Returns the Python version as string ``'major.minor.patchlevel'`` + Returns the Python version as string ``'major.minor.patchlevel'``. Note that unlike the Python ``sys.version``, the returned value will always include the patchlevel (it defaults to 0). diff -r 04815b55227f Doc/library/shutil.rst --- a/Doc/library/shutil.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/shutil.rst Fri Oct 09 01:02:16 2015 +0900 @@ -291,7 +291,7 @@ .. function:: get_archive_formats() Return a list of supported formats for archiving. - Each element of the returned sequence is a tuple ``(name, description)`` + Each element of the returned sequence is a tuple ``(name, description)``. By default :mod:`shutil` provides these formats: diff -r 04815b55227f Doc/library/wsgiref.rst --- a/Doc/library/wsgiref.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/wsgiref.rst Fri Oct 09 01:02:16 2015 +0900 @@ -479,7 +479,7 @@ Similar to :class:`BaseCGIHandler`, but designed for use with HTTP origin servers. If you are writing an HTTP server implementation, you will probably - want to subclass this instead of :class:`BaseCGIHandler` + want to subclass this instead of :class:`BaseCGIHandler`. This class is a subclass of :class:`BaseHandler`. It overrides the :meth:`__init__`, :meth:`get_stdin`, :meth:`get_stderr`, :meth:`add_cgi_vars`, diff -r 04815b55227f Doc/library/xml.dom.minidom.rst --- a/Doc/library/xml.dom.minidom.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/xml.dom.minidom.rst Fri Oct 09 01:02:16 2015 +0900 @@ -18,7 +18,7 @@ Model interface, with an API similar to that in other languages. It is intended to be simpler than the full DOM and also significantly smaller. Users who are not already proficient with the DOM should consider using the -:mod:`xml.etree.ElementTree` module for their XML processing instead +:mod:`xml.etree.ElementTree` module for their XML processing instead. .. warning:: diff -r 04815b55227f Doc/library/xml.dom.rst --- a/Doc/library/xml.dom.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/xml.dom.rst Fri Oct 09 01:02:16 2015 +0900 @@ -321,7 +321,7 @@ .. attribute:: Node.prefix The part of the :attr:`tagName` preceding the colon if there is one, else the - empty string. The value is a string, or ``None`` + empty string. The value is a string, or ``None``. .. attribute:: Node.namespaceURI diff -r 04815b55227f Doc/library/xml.etree.elementtree.rst --- a/Doc/library/xml.etree.elementtree.rst Wed Oct 07 10:39:13 2015 +0000 +++ b/Doc/library/xml.etree.elementtree.rst Fri Oct 09 01:02:16 2015 +0900 @@ -829,7 +829,7 @@ Creates and returns a tree iterator for the root element. The iterator loops over all elements in this tree, in section order. *tag* is the tag - to look for (default is to return all elements) + to look for (default is to return all elements). .. method:: iterfind(match)