]> granicus.if.org Git - python/commitdiff
Issue #9738: Ooops, fix typos in my previous commit (r87506)
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 27 Dec 2010 02:39:20 +0000 (02:39 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 27 Dec 2010 02:39:20 +0000 (02:39 +0000)
Include/compile.h
Include/unicodeobject.h

index 5ce5b77b918968403b1e99ed880a3e61c7f8c8a6..bc53b39239072ab15423affcec0eabbf3871bb43 100644 (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,
index 1f79efdc0e4fa30875dbd856f6b1d8e91dbf5444..4d2a8e4d63f6bfdd2347cae383fe71788b59b5f8 100644 (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 */
     );