From 0d711169fac26532249acc9aef20af906fe206c9 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 27 Dec 2010 02:39:20 +0000 Subject: [PATCH] Issue #9738: Ooops, fix typos in my previous commit (r87506) --- Include/compile.h | 2 +- Include/unicodeobject.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/compile.h b/Include/compile.h index 5ce5b77b91..bc53b39239 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 1f79efdc0e..4d2a8e4d63 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 */ ); -- 2.50.1