mirror of
https://github.com/python/cpython.git
synced 2025-07-22 18:55:22 +00:00
Restore to ANSI C.
This commit is contained in:
parent
84fcd92461
commit
5f26dda25d
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ char *PyMac_StrError(int err)
|
|||
** Estr resources. We ignore all errors. We also try
|
||||
** this only once.
|
||||
*/
|
||||
errors_loaded = 1;
|
||||
PyObject *m, *rv;
|
||||
errors_loaded = 1;
|
||||
|
||||
m = PyImport_ImportModule("macresource");
|
||||
if (!m) {
|
||||
|
@ -603,4 +603,4 @@ GLUE_CONVERT(CFURLRef, CFURLRefObj_Convert, "Carbon.CF")
|
|||
GLUE_CONVERT(CFURLRef, OptionalCFURLRefObj_Convert, "Carbon.CF")
|
||||
GLUE_NEW(CFURLRef, CFURLRefObj_New, "Carbon.CF")
|
||||
|
||||
#endif /* USE_TOOLBOX_OBJECT_GLUE */
|
||||
#endif /* USE_TOOLBOX_OBJECT_GLUE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue