summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-12-27 02:39:20 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-12-27 02:39:20 (GMT)
commit0d711169fac26532249acc9aef20af906fe206c9 (patch)
tree414742b775ffcf72c310d0664a20a8cf4eb23e92
parent00676d143626dbbb7e1ad456ed013afba4420978 (diff)
downloadcpython-0d711169fac26532249acc9aef20af906fe206c9.zip
cpython-0d711169fac26532249acc9aef20af906fe206c9.tar.gz
cpython-0d711169fac26532249acc9aef20af906fe206c9.tar.bz2
Issue #9738: Ooops, fix typos in my previous commit (r87506)
-rw-r--r--Include/compile.h2
-rw-r--r--Include/unicodeobject.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/compile.h b/Include/compile.h
index 5ce5b77..bc53b39 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 1f79efd..4d2a8e4 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 */
);