8000 BUG: stop_event_loop method should have flags METH_NOARGS as it has n… · matplotlib/matplotlib@12f1f67 · GitHub
[go: up one dir, main page]

Skip to content

Commit 12f1f67

Browse files
committed
BUG: stop_event_loop method should have flags METH_NOARGS as it has no arguments
1 parent 7fab3d1 commit 12f1f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_macosx.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3784,7 +3784,7 @@ static void draw_image_user_coords_device_size(CGContextRef cr, CGImageRef im,
37843784
},
37853785
{"stop_event_loop",
37863786
(PyCFunction)FigureCanvas_stop_event_loop,
3787-
METH_KEYWORDS | METH_VARARGS,
3787+
METH_NOARGS,
37883788
"Stops the event loop that was started by start_event_loop.\n",
37893789
},
37903790
{NULL} /* Sentinel */

0 commit comments

Comments
 (0)
0