Commit 0d711169 authored by Victor Stinner's avatar Victor Stinner

Issue #9738: Ooops, fix typos in my previous commit (r87506)

parent 00676d14
......@@ -31,7 +31,7 @@ typedef struct {
struct _mod; /* Declare the existence of this type */
#define PyAST_Compile(mod, s, f, ar) PyAST_CompileEx(mod, s, f, -1, ar)
PyAPI_FUNC(PyCodeObject *) PyAST_CompileEx(
mod_ty mod,
struct _mod *mod,
const char *filename, /* decoded from the filesystem encoding */
PyCompilerFlags *flags,
int optimize,
......
......@@ -443,7 +443,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
/* Similar to PyUnicode_FromUnicode(), but u points to UTF-8 encoded bytes */
PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
const char *u /* UTF-8 encoded string */
const char *u, /* UTF-8 encoded string */
Py_ssize_t size /* size of buffer */
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment