mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-46383: Fix signature of zoneinfo module_free function (GH-30607)
This commit is contained in:
parent
305588c67c
commit
cfbde65df3
2 changed files with 3 additions and 1 deletions
|
@ -2612,7 +2612,7 @@ static PyTypeObject PyZoneInfo_ZoneInfoType = {
|
|||
// Specify the _zoneinfo module
|
||||
static PyMethodDef module_methods[] = {{NULL, NULL}};
|
||||
static void
|
||||
module_free(void)
|
||||
module_free(void *m)
|
||||
{
|
||||
Py_XDECREF(_tzpath_find_tzfile);
|
||||
_tzpath_find_tzfile = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue