Lines Matching refs:winerror
833 Py_CLEAR(self->winerror); in WindowsError_clear()
851 Py_VISIT(self->winerror); in WindowsError_traverse()
876 Py_XSETREF(self->winerror, self->myerrno); in WindowsError_init()
914 if (self->winerror) { in WindowsError_str()
915 Py_INCREF(self->winerror); in WindowsError_str()
916 PyTuple_SET_ITEM(tuple, 0, self->winerror); in WindowsError_str()
938 else if (self->winerror && self->strerror) { in WindowsError_str()
952 if (self->winerror) { in WindowsError_str()
953 Py_INCREF(self->winerror); in WindowsError_str()
954 PyTuple_SET_ITEM(tuple, 0, self->winerror); in WindowsError_str()
987 {"winerror", T_OBJECT, offsetof(PyWindowsErrorObject, winerror), 0,