[Python-checkins] cpython (3.2): Fix a few markup/grammar nits

eric.araujo python-checkins at python.org
Sun Dec 9 04:57:24 CET 2012


http://hg.python.org/cpython/rev/594325babdb8
changeset: 80770:594325babdb8
branch: 3.2
user: Éric Araujo <aeric at mtlpy.org>
date: Sat Dec 08 18:35:31 2012 -0500
summary:
 Fix a few markup/grammar nits
files:
 Doc/library/abc.rst | 6 +++---
 Doc/library/io.rst | 2 +-
 Doc/library/sys.rst | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Doc/library/abc.rst b/Doc/library/abc.rst
--- a/Doc/library/abc.rst
+++ b/Doc/library/abc.rst
@@ -126,7 +126,7 @@
 
 It also provides the following decorators:
 
-.. decorator:: abstractmethod(function)
+.. decorator:: abstractmethod
 
 A decorator indicating abstract methods.
 
@@ -161,7 +161,7 @@
 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 @@
 .. 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`.
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -236,7 +236,7 @@
 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
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -739,7 +739,7 @@
 For other systems, the values are:
 
 ====================== ===========================
- System :data:`platform` value
+ System ``platform`` value
 ====================== ===========================
 Linux (2.x *and* 3.x) ``'linux2'``
 Windows ``'win32'``
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /