File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ module marshal
106106#define WFERR_NESTEDTOODEEP 2
107107#define WFERR_NOMEMORY 3
108108#define WFERR_CODE_NOT_ALLOWED 4
109- #define WFERR_ERROR_SET 5 /* An exception has already been raised. */
109+ #define WFERR_EXCEPTION_SET 5 /* An exception has already been raised. */
110110
111111typedef struct {
112112 FILE * fp ;
@@ -135,7 +135,7 @@ w_file_error(WFILE *p)
135135 if (p -> error != WFERR_OK ) {
136136 return ;
137137 }
138- p -> error = WFERR_ERROR_SET ;
138+ p -> error = WFERR_EXCEPTION_SET ;
139139 if (PyErr_CheckSignals ()) {
140140 /* The signal handler has raised an exception. */
141141 return ;
@@ -823,7 +823,7 @@ w_set_exception(WFILE *p)
823823 PyErr_SetString (PyExc_ValueError ,
824824 "marshalling code objects is disallowed" );
825825 break ;
826- case WFERR_ERROR_SET :
826+ case WFERR_EXCEPTION_SET :
827827 /* An exception has already been raised. */
828828 assert (PyErr_Occurred ());
829829 break ;
You can’t perform that action at this time.
0 commit comments