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

This commit is contained in:
Victor Stinner 2010-12-27 02:39:20 +00:00
parent 00676d1436
commit 0d711169fa
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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 */
);