diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-03 12:45:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 12:45:38 (GMT) |
commit | 3bb150d8148e3cc08418077a58f43e064b9fde61 (patch) | |
tree | ee6f96c188a91f66809081e1171385e6df0b17ba /Lib/unittest/test/testmock/testhelpers.py | |
parent | ab6614969301b238fcc27f43923a0189a57a2a3c (diff) | |
download | cpython-3bb150d8148e3cc08418077a58f43e064b9fde61.zip cpython-3bb150d8148e3cc08418077a58f43e064b9fde61.tar.gz cpython-3bb150d8148e3cc08418077a58f43e064b9fde61.tar.bz2 |
bpo-35373: Fix PyInit_time() error handling (GH-10865)
* PyInit_time() now returns NULL if an exception is raised.
* Rename PyInit_timezone() to init_timezone(). "PyInit_" prefix is
a special prefix for function initializing a module.
init_timezone() doesn't initialize a module and the function is not
exported.
Diffstat (limited to 'Lib/unittest/test/testmock/testhelpers.py')
0 files changed, 0 insertions, 0 deletions