Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9bc9ab5

Browse files
author
Éric Araujo
committed
Fix a few markup/grammar nits
1 parent d61926e commit 9bc9ab5

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/library/abc.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ This module provides the following class:
126126

127127
It also provides the following decorators:
128128

129-
.. decorator:: abstractmethod(function)
129+
.. decorator:: abstractmethod
130130

131131
A decorator indicating abstract methods.
132132

@@ -161,7 +161,7 @@ It also provides the following decorators:
161161
multiple-inheritance.
162162

163163

164-
.. decorator:: abstractclassmethod(function)
164+
.. decorator:: abstractclassmethod
165165

166166
A subclass of the built-in :func:`classmethod`, indicating an abstract
167167
classmethod. Otherwise it is similar to :func:`abstractmethod`.
@@ -176,7 +176,7 @@ It also provides the following decorators:
176176
.. versionadded:: 3.2
177177

178178

179-
.. decorator:: abstractstaticmethod(function)
179+
.. decorator:: abstractstaticmethod
180180

181181
A subclass of the built-in :func:`staticmethod`, indicating an abstract
182182
staticmethod. Otherwise it is similar to :func:`abstractmethod`.

Doc/library/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ I/O Base Classes
236236
Note that calling any method (even inquiries) on a closed stream is
237237
undefined. Implementations may raise :exc:`IOError` in this case.
238238

239-
IOBase (and its subclasses) support the iterator protocol, meaning that an
239+
IOBase (and its subclasses) supports the iterator protocol, meaning that an
240240
:class:`IOBase` object can be iterated over yielding the lines in a stream.
241241
Lines are defined slightly differently depending on whether the stream is
242242
a binary stream (yielding bytes), or a text stream (yielding character

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ always available.
739739
For other systems, the values are:
740740

741741
====================== ===========================
742-
System :data:`platform` value
742+
System ``platform`` value
743743
====================== ===========================
744744
Linux (2.x *and* 3.x) ``'linux2'``
745745
Windows ``'win32'``

0 commit comments

Comments
 (0)