[Python-checkins] r87507 - in python/branches/py3k/Include: compile.h unicodeobject.h

victor.stinner python-checkins at python.org
Mon Dec 27 03:39:20 CET 2010


Author: victor.stinner
Date: Mon Dec 27 03:39:20 2010
New Revision: 87507
Log:
Issue #9738: Ooops, fix typos in my previous commit (r87506)
Modified:
 python/branches/py3k/Include/compile.h
 python/branches/py3k/Include/unicodeobject.h
Modified: python/branches/py3k/Include/compile.h
==============================================================================
--- python/branches/py3k/Include/compile.h	(original)
+++ python/branches/py3k/Include/compile.h	Mon Dec 27 03:39:20 2010
@@ -31,7 +31,7 @@
 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,
Modified: python/branches/py3k/Include/unicodeobject.h
==============================================================================
--- python/branches/py3k/Include/unicodeobject.h	(original)
+++ python/branches/py3k/Include/unicodeobject.h	Mon Dec 27 03:39:20 2010
@@ -443,7 +443,7 @@
 
 /* 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 */
 );
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /