diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2016-05-27 12:56:41 -0600 |
---|---|---|
committer | Eric Snow <ericsnowcurrently@gmail.com> | 2016-05-27 12:56:41 -0600 |
commit | 1f1268c0bc93629b7abc16d8af9cf997c32a947b (patch) | |
tree | 39ee4dfe533b80ba355fc850ca5de5bc85c09ec0 /Python/frozenmain.c | |
parent | f9990315cdea1d35808ed89f11a4fe388944553e (diff) | |
parent | 3bd347c543f3849bc5c70f7c07aa02bb204d3060 (diff) | |
download | cpython-1f1268c0bc93629b7abc16d8af9cf997c32a947b.tar.gz |
Issue #27138: Fix the doc comment for FileFinder.find_spec().
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r-- | Python/frozenmain.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c index de8bd35453..769b33d0ee 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -99,7 +99,9 @@ Py_FrozenMain(int argc, char **argv) #ifdef MS_WINDOWS PyWinFreeze_ExeTerm(); #endif - Py_Finalize(); + if (Py_FinalizeEx() < 0) { + sts = 120; + } error: PyMem_RawFree(argv_copy); |