mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Issue #9051: Instances of timezone class can now be pickled.
This commit is contained in:
parent
b7e1010096
commit
1b7046b99e
3 changed files with 32 additions and 16 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
/*
|
||||
__version__ 73626.
|
||||
__version__ 82163.
|
||||
|
||||
This module must be committed separately after each AST grammar change;
|
||||
The __version__ number is set to the revision number of the commit
|
||||
|
@ -6773,7 +6773,7 @@ PyInit__ast(void)
|
|||
NULL;
|
||||
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
|
||||
return NULL;
|
||||
if (PyModule_AddStringConstant(m, "__version__", "73626") < 0)
|
||||
if (PyModule_AddStringConstant(m, "__version__", "82163") < 0)
|
||||
return NULL;
|
||||
if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return
|
||||
NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue