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

Appearance settings

Commit a02e90a

Browse filesBrowse files
Move clinic_state down to where it belongs; left-overs from first PR
1 parent 8baf0e1 commit a02e90a
Copy full SHA for a02e90a

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Modules/itertoolsmodule.c

Copy file name to clipboardExpand all lines: Modules/itertoolsmodule.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ find_state_by_type(PyTypeObject *tp)
5555
assert(mod != NULL);
5656
return get_module_state(mod);
5757
}
58-
#define clinic_state() (find_state_by_type(type))
5958

6059
/*[clinic input]
6160
module itertools
@@ -84,6 +83,7 @@ static PyTypeObject teedataobject_type;
8483
static PyTypeObject tee_type;
8584
static PyTypeObject batched_type;
8685

86+
#define clinic_state() (find_state_by_type(type))
8787
#define clinic_state_by_cls() (get_module_state_by_cls(base_tp))
8888
#include "clinic/itertoolsmodule.c.h"
8989
#undef clinic_state_by_cls

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.