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

gh-101277: Isolate itertools, part 3/4 #101304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 8, 2023
Prev Previous commit
Next Next commit
Move clinic_state down to where it belongs; left-overs from first PR
  • Loading branch information
erlend-aasland committed Feb 3, 2023
commit a02e90aafbdbcc1e6dbdb8d9c4aa169a85797bf8
2 changes: 1 addition & 1 deletion 2 Modules/itertoolsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ find_state_by_type(PyTypeObject *tp)
assert(mod != NULL);
return get_module_state(mod);
}
#define clinic_state() (find_state_by_type(type))

/*[clinic input]
module itertools
Expand Down Expand Up @@ -84,6 +83,7 @@ static PyTypeObject teedataobject_type;
static PyTypeObject tee_type;
static PyTypeObject batched_type;

#define clinic_state() (find_state_by_type(type))
#define clinic_state_by_cls() (get_module_state_by_cls(base_tp))
#include "clinic/itertoolsmodule.c.h"
#undef clinic_state_by_cls
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.