]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the miscellaneous typo (GH-17700)
authorcocoatomo <cocoatomo77@gmail.com>
Wed, 25 Dec 2019 15:39:35 +0000 (00:39 +0900)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Dec 2019 15:39:35 +0000 (07:39 -0800)
A character "i" is omitted.

Doc/c-api/code.rst

index 45a6b4a753a729e9f94ad6b89d61260e455c032a..6f8c41ccbf6e853d9728f101e4f0b4e9dbb63203 100644 (file)
@@ -42,7 +42,7 @@ bound into a function.
 
 .. c:function:: PyCodeObject* PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwonlyargcount, int nlocals, int stacksize, int flags, PyObject *code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnotab)
 
-   Similar to :c:func:`PyCode_New`, but with an extra "posonlyargcount" for positonal-only arguments.
+   Similar to :c:func:`PyCode_New`, but with an extra "posonlyargcount" for positional-only arguments.
 
    .. versionadded:: 3.8