Fix a few markup/grammar nits
authorÉric Araujo <aeric@mtlpy.org>
Sat, 8 Dec 2012 23:35:31 +0000 (18:35 -0500)
committerÉric Araujo <aeric@mtlpy.org>
Sat, 8 Dec 2012 23:35:31 +0000 (18:35 -0500)
Doc/library/abc.rst
Doc/library/io.rst
Doc/library/sys.rst

index 1048b24c088c0519065e27fd912d9c81b85535eb..dcec19a3a76615aaf788b7984a472df8f0b8f389 100644 (file)
@@ -126,7 +126,7 @@ This module provides the following class:
 
 It also provides the following decorators:
 
-.. decorator:: abstractmethod(function)
+.. decorator:: abstractmethod
 
    A decorator indicating abstract methods.
 
@@ -161,7 +161,7 @@ It also provides the following decorators:
       multiple-inheritance.
 
 
-.. decorator:: abstractclassmethod(function)
+.. decorator:: abstractclassmethod
 
    A subclass of the built-in :func:`classmethod`, indicating an abstract
    classmethod. Otherwise it is similar to :func:`abstractmethod`.
@@ -176,7 +176,7 @@ It also provides the following decorators:
    .. versionadded:: 3.2
 
 
-.. decorator:: abstractstaticmethod(function)
+.. decorator:: abstractstaticmethod
 
    A subclass of the built-in :func:`staticmethod`, indicating an abstract
    staticmethod. Otherwise it is similar to :func:`abstractmethod`.
index 7cab6850e61c97c17b4ec8d420f19124bf33de19..1939352bc128909536810c9ccfd0f764b5e8ba67 100644 (file)
@@ -236,7 +236,7 @@ I/O Base Classes
    Note that calling any method (even inquiries) on a closed stream is
    undefined.  Implementations may raise :exc:`IOError` in this case.
 
-   IOBase (and its subclasses) support the iterator protocol, meaning that an
+   IOBase (and its subclasses) supports the iterator protocol, meaning that an
    :class:`IOBase` object can be iterated over yielding the lines in a stream.
    Lines are defined slightly differently depending on whether the stream is
    a binary stream (yielding bytes), or a text stream (yielding character
index 0e4adeca76bda7c05e4b41e6d165fe794c6c7ba0..a3c14e63179a4938ade63db6b67e6a4e734cd79f 100644 (file)
@@ -739,7 +739,7 @@ always available.
    For other systems, the values are:
 
    ====================== ===========================
-   System                 :data:`platform` value
+   System                 ``platform`` value
    ====================== ===========================
    Linux (2.x *and* 3.x)  ``'linux2'``
    Windows                ``'win32'``