mirror of
https://github.com/python/cpython.git
synced 2025-01-11 02:54:59 +08:00
Fixed bug in object-handler install arg handling
This commit is contained in:
parent
cfb60ee1e8
commit
9f2ff9124c
@ -365,7 +365,7 @@ inshandler_body = """
|
||||
PyMac_GetOSType, &objectType,
|
||||
PyMac_GetOSType, &selector,
|
||||
&py_handler,
|
||||
ExistingwasteObj_New, &we) ) return NULL;
|
||||
WEOObj_Convert, &we) ) return NULL;
|
||||
|
||||
if ( selector == weNewHandler ) handler = (UniversalProcPtr)upp_new_handler;
|
||||
else if ( selector == weDisposeHandler ) handler = (UniversalProcPtr)upp_dispose_handler;
|
||||
|
Loading…
Reference in New Issue
Block a user