Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d01ade

Browse files
committed
fix compilation
1 parent9f71ec7 commit0d01ade

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Modules/_cursesmodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,8 @@ _PyCursesStatefulCheckFunction(PyObject *module,
390390
#definecurses_assert_success(CODE,CURSES_FUNCNAME,PYTHON_FUNCNAME) \
391391
do { \
392392
if (CODE != OK) { \
393-
PyErr_Format("%s (called by %s()) returned %d instead of %d", \
393+
PyErr_Format(PyExc_SystemError, \
394+
"%s (called by %s()) returned %d instead of %d", \
394395
CURSES_FUNCNAME, PYTHON_FUNCNAME, CODE, OK); \
395396
return NULL; \
396397
} \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp