Commit 9bc9ab5f authored by Éric Araujo's avatar Éric Araujo

Fix a few markup/grammar nits

parent d61926e6
...@@ -126,7 +126,7 @@ This module provides the following class: ...@@ -126,7 +126,7 @@ This module provides the following class:
It also provides the following decorators: It also provides the following decorators:
.. decorator:: abstractmethod(function) .. decorator:: abstractmethod
A decorator indicating abstract methods. A decorator indicating abstract methods.
...@@ -161,7 +161,7 @@ It also provides the following decorators: ...@@ -161,7 +161,7 @@ It also provides the following decorators:
multiple-inheritance. multiple-inheritance.
.. decorator:: abstractclassmethod(function) .. decorator:: abstractclassmethod
A subclass of the built-in :func:`classmethod`, indicating an abstract A subclass of the built-in :func:`classmethod`, indicating an abstract
classmethod. Otherwise it is similar to :func:`abstractmethod`. classmethod. Otherwise it is similar to :func:`abstractmethod`.
...@@ -176,7 +176,7 @@ It also provides the following decorators: ...@@ -176,7 +176,7 @@ It also provides the following decorators:
.. versionadded:: 3.2 .. versionadded:: 3.2
.. decorator:: abstractstaticmethod(function) .. decorator:: abstractstaticmethod
A subclass of the built-in :func:`staticmethod`, indicating an abstract A subclass of the built-in :func:`staticmethod`, indicating an abstract
staticmethod. Otherwise it is similar to :func:`abstractmethod`. staticmethod. Otherwise it is similar to :func:`abstractmethod`.
......
...@@ -236,7 +236,7 @@ I/O Base Classes ...@@ -236,7 +236,7 @@ I/O Base Classes
Note that calling any method (even inquiries) on a closed stream is Note that calling any method (even inquiries) on a closed stream is
undefined. Implementations may raise :exc:`IOError` in this case. 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. :class:`IOBase` object can be iterated over yielding the lines in a stream.
Lines are defined slightly differently depending on whether the stream is Lines are defined slightly differently depending on whether the stream is
a binary stream (yielding bytes), or a text stream (yielding character a binary stream (yielding bytes), or a text stream (yielding character
......
...@@ -739,7 +739,7 @@ always available. ...@@ -739,7 +739,7 @@ always available.
For other systems, the values are: For other systems, the values are:
====================== =========================== ====================== ===========================
System :data:`platform` value System ``platform`` value
====================== =========================== ====================== ===========================
Linux (2.x *and* 3.x) ``'linux2'`` Linux (2.x *and* 3.x) ``'linux2'``
Windows ``'win32'`` Windows ``'win32'``
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment