[Python-checkins] cpython (2.7): Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes.

victor.stinner python-checkins at python.org
Tue Dec 10 01:24:05 CET 2013


http://hg.python.org/cpython/rev/eb1039fe090c
changeset:   87863:eb1039fe090c
branch:      2.7
parent:      87833:42d3afd29460
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Dec 10 01:23:22 2013 +0100
summary:
  Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes.

files:
  Include/import.h |  4 ++--
  Misc/NEWS        |  2 ++
  2 files changed, 4 insertions(+), 2 deletions(-)


diff --git a/Include/import.h b/Include/import.h
--- a/Include/import.h
+++ b/Include/import.h
@@ -40,8 +40,8 @@
 PyAPI_FUNC(int) _PyImport_IsScript(struct filedescr *);
 PyAPI_FUNC(void) _PyImport_ReInitLock(void);
 
-PyAPI_FUNC(PyObject *)_PyImport_FindExtension(char *, char *);
-PyAPI_FUNC(PyObject *)_PyImport_FixupExtension(char *, char *);
+PyAPI_FUNC(PyObject *) _PyImport_FindExtension(char *, char *);
+PyAPI_FUNC(PyObject *) _PyImport_FixupExtension(char *, char *);
 
 struct _inittab {
     char *name;
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -9,6 +9,8 @@
 Core and Builtins
 -----------------
 
+- Issue #19932: Fix typo in import.h, missing whitespaces in function prototypes.
+
 - Issue #19638: Fix possible crash / undefined behaviour from huge (more than 2
   billion characters) input strings in _Py_dg_strtod.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list