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

bpo-1635741: Port _stat module to multiphase initialization #19798

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 5 commits into from
Apr 29, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bpo-1635741: Update
  • Loading branch information
corona10 committed Apr 29, 2020
commit 41fdd0f203b38ec7c95c67626994ac85f56b66ec
2 changes: 1 addition & 1 deletion 2 Modules/_stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ stat_exec(PyObject *module)
{
#define ADD_INT_MACRO(module, macro) \
do { \
if (PyModule_AddIntMacro(module, macro) < 0) { \
if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
return -1; \
} \
} while (0)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.