summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/intro.rst
diff options
context:
space:
mode:
authorBeomsoo Kim <bluewhale8202@gmail.com>2018-12-17 12:57:03 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-12-17 12:57:03 (GMT)
commit05c1b387f1cad3d3d005bb98ad42b1e31eb9e379 (patch)
tree09cd2ee54620205cc3d530fe8c507dffdf2e2c7e /Doc/c-api/intro.rst
parent3ab064e80a9be1e6e9c62437fffb92bde9c5e1fb (diff)
downloadcpython-05c1b387f1cad3d3d005bb98ad42b1e31eb9e379.zip
cpython-05c1b387f1cad3d3d005bb98ad42b1e31eb9e379.tar.gz
cpython-05c1b387f1cad3d3d005bb98ad42b1e31eb9e379.tar.bz2
Fixed a few obvious mistakes in c-api docs (GH-11184)
I thought these simple changes doesn't need bpo number(Am I right..?). Please refer to the commit message for detail.
Diffstat (limited to 'Doc/c-api/intro.rst')
-rw-r--r--Doc/c-api/intro.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst
index 1500610..6bb2356 100644
--- a/Doc/c-api/intro.rst
+++ b/Doc/c-api/intro.rst
@@ -234,7 +234,7 @@ duration of the call.
However, a common pitfall is to extract an object from a list and hold on to it
for a while without incrementing its reference count. Some other operation might
conceivably remove the object from the list, decrementing its reference count
-and possible deallocating it. The real danger is that innocent-looking
+and possibly deallocating it. The real danger is that innocent-looking
operations may invoke arbitrary Python code which could do this; there is a code
path which allows control to flow back to the user from a :c:func:`Py_DECREF`, so
almost any operation is potentially dangerous.