summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-10-10 10:52:35 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-10-10 10:52:35 (GMT)
commit4ed35fc4f31ebbdb25ba5e1291de77f4095c33d0 (patch)
treed18ec596095ecee9c77c3fe541550624b186832a /Doc/c-api
parentdab305ef059434366e3a0c46533ff3b206e70463 (diff)
downloadcpython-4ed35fc4f31ebbdb25ba5e1291de77f4095c33d0.zip
cpython-4ed35fc4f31ebbdb25ba5e1291de77f4095c33d0.tar.gz
cpython-4ed35fc4f31ebbdb25ba5e1291de77f4095c33d0.tar.bz2
Issue #25161: Add full stops in documentation; patch by Takase Arihiro
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/code.rst2
-rw-r--r--Doc/c-api/gen.rst2
-rw-r--r--Doc/c-api/veryhigh.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/code.rst b/Doc/c-api/code.rst
index 7d9b4b6..0412138 100644
--- a/Doc/c-api/code.rst
+++ b/Doc/c-api/code.rst
@@ -29,7 +29,7 @@ bound into a function.
.. 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 --git a/Doc/c-api/gen.rst b/Doc/c-api/gen.rst
index 33cd27a..0c851a7 100644
--- a/Doc/c-api/gen.rst
+++ b/Doc/c-api/gen.rst
@@ -17,7 +17,7 @@ than explicitly calling :c:func:`PyGen_New`.
.. 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 --git a/Doc/c-api/veryhigh.rst b/Doc/c-api/veryhigh.rst
index 6107665..9e54c14 100644
--- a/Doc/c-api/veryhigh.rst
+++ b/Doc/c-api/veryhigh.rst
@@ -168,7 +168,7 @@ the same library that the Python runtime is using.
.. 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)