diff options
author | Yury Selivanov <yury@magic.io> | 2018-01-22 19:11:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-22 19:11:18 -0500 |
commit | f23746a934177c48eff754411aba54c31d6be2f0 (patch) | |
tree | 4b32964b53fa87701f71c71937792f2489b7bbb4 /Modules/gcmodule.c | |
parent | 9089a265918754d95e105a7c4c409ac9352c87bb (diff) | |
download | cpython-git-f23746a934177c48eff754411aba54c31d6be2f0.tar.gz |
bpo-32436: Implement PEP 567 (#5027)
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r-- | Modules/gcmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index ea3c294dcf..8ba1093c02 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -24,6 +24,7 @@ */ #include "Python.h" +#include "internal/context.h" #include "internal/mem.h" #include "internal/pystate.h" #include "frameobject.h" /* for PyFrame_ClearFreeList */ @@ -790,6 +791,7 @@ clear_freelists(void) (void)PyDict_ClearFreeList(); (void)PySet_ClearFreeList(); (void)PyAsyncGen_ClearFreeLists(); + (void)PyContext_ClearFreeList(); } /* This is the main function. Read this to understand how the |