/* Sigcheck is similar to intrcheck() but sets an exception when aninterrupt occurs. It can't be in the intrcheck.c file since thatfile (and the whole directory it is in) doesn't know about objectsor exceptions. It can't be in errors.c because it can beoverridden (at link time) by a more powerful version implemented insignalmodule.c. */#include "Python.h"/* ARGSUSED */intPyErr_CheckSignals(void){if (!PyOS_InterruptOccurred())return 0;PyErr_SetNone(PyExc_KeyboardInterrupt);return -1;}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。