mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Fix issue776533.
This commit is contained in:
parent
0aee942a08
commit
6290178fc9
1 changed files with 2 additions and 0 deletions
|
@ -1150,7 +1150,9 @@ void init_Snd(void)
|
|||
SPB_Type.ob_type = &PyType_Type;
|
||||
if (PyType_Ready(&SPB_Type) < 0) return;
|
||||
Py_INCREF(&SPB_Type);
|
||||
#if 0
|
||||
PyModule_AddObject(m, "SPB", (PyObject *)&SPB_Type);
|
||||
#endif
|
||||
/* Backward-compatible name */
|
||||
Py_INCREF(&SPB_Type);
|
||||
PyModule_AddObject(m, "SPBType", (PyObject *)&SPB_Type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue