diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-19 02:37:44 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-19 02:37:44 +0000 |
commit | e93237dfcc4ee4feee62adafb4e7899487ca864b (patch) | |
tree | b78abc265e7fb10639492f62e4ffd0ce1bcc67af /Modules/shamodule.c | |
parent | d586559c31b77938b514cec99f2f8b431a34dff5 (diff) | |
download | cpython-git-e93237dfcc4ee4feee62adafb4e7899487ca864b.tar.gz |
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
Diffstat (limited to 'Modules/shamodule.c')
-rw-r--r-- | Modules/shamodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/shamodule.c b/Modules/shamodule.c index e08dc5df2f..1a7fc2c5ee 100644 --- a/Modules/shamodule.c +++ b/Modules/shamodule.c @@ -576,7 +576,7 @@ init_sha(void) { PyObject *m; - Py_Type(&SHAtype) = &PyType_Type; + Py_TYPE(&SHAtype) = &PyType_Type; if (PyType_Ready(&SHAtype) < 0) return; m = Py_InitModule("_sha", SHA_functions); |