From: Victor Stinner Date: Mon, 27 Dec 2010 02:39:20 +0000 (+0000) Subject: Issue #9738: Ooops, fix typos in my previous commit (r87506) X-Git-Tag: v3.2rc1~329 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d711169fac26532249acc9aef20af906fe206c9;p=thirdparty%2FPython%2Fcpython.git Issue #9738: Ooops, fix typos in my previous commit (r87506) --- diff --git a/Include/compile.h b/Include/compile.h index 5ce5b77b9189..bc53b3923907 100644 --- a/Include/compile.h +++ b/Include/compile.h @@ -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, diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 1f79efdc0e4f..4d2a8e4d63f6 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -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 */ );