mirror of https://github.com/python/cpython
Issue #9738: Ooops, fix typos in my previous commit (r87506)
This commit is contained in:
parent
00676d1436
commit
0d711169fa
|
@ -31,7 +31,7 @@ typedef struct {
|
||||||
struct _mod; /* Declare the existence of this type */
|
struct _mod; /* Declare the existence of this type */
|
||||||
#define PyAST_Compile(mod, s, f, ar) PyAST_CompileEx(mod, s, f, -1, ar)
|
#define PyAST_Compile(mod, s, f, ar) PyAST_CompileEx(mod, s, f, -1, ar)
|
||||||
PyAPI_FUNC(PyCodeObject *) PyAST_CompileEx(
|
PyAPI_FUNC(PyCodeObject *) PyAST_CompileEx(
|
||||||
mod_ty mod,
|
struct _mod *mod,
|
||||||
const char *filename, /* decoded from the filesystem encoding */
|
const char *filename, /* decoded from the filesystem encoding */
|
||||||
PyCompilerFlags *flags,
|
PyCompilerFlags *flags,
|
||||||
int optimize,
|
int optimize,
|
||||||
|
|
|
@ -443,7 +443,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
|
||||||
|
|
||||||
/* Similar to PyUnicode_FromUnicode(), but u points to UTF-8 encoded bytes */
|
/* Similar to PyUnicode_FromUnicode(), but u points to UTF-8 encoded bytes */
|
||||||
PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
|
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 */
|
Py_ssize_t size /* size of buffer */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue