comparison Python/Python-ast.c @ 62464:3cf35231f7d3

Issue #9051: Instances of timezone class can now be pickled.
author Alexander Belopolsky <alexander.belopolsky@gmail.com>
date Wed, 23 Jun 2010 21:40:15 +0000
parents 600c23127207
children 504c499e8c95
comparison
equal deleted inserted replaced
62461:c8d5d1205fe8 62464:3cf35231f7d3
1 /* File automatically generated by Parser/asdl_c.py. */ 1 /* File automatically generated by Parser/asdl_c.py. */
2 2
3 3
4 /* 4 /*
5 __version__ 73626. 5 __version__ 82163.
6 6
7 This module must be committed separately after each AST grammar change; 7 This module must be committed separately after each AST grammar change;
8 The __version__ number is set to the revision number of the commit 8 The __version__ number is set to the revision number of the commit
9 containing the grammar change. 9 containing the grammar change.
10 */ 10 */
6771 d = PyModule_GetDict(m); 6771 d = PyModule_GetDict(m);
6772 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return 6772 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return
6773 NULL; 6773 NULL;
6774 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) 6774 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
6775 return NULL; 6775 return NULL;
6776 if (PyModule_AddStringConstant(m, "__version__", "73626") < 0) 6776 if (PyModule_AddStringConstant(m, "__version__", "82163") < 0)
6777 return NULL; 6777 return NULL;
6778 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return 6778 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return
6779 NULL; 6779 NULL;
6780 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) 6780 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
6781 return NULL; 6781 return NULL;