mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
bpo-42599: Remove useless PyModule_GetWarningsModule() (GH-23691)
Removed PyModule_GetWarningsModule() which is useless due to the _warnings module was converted to a builtin module in 2.6.
This commit is contained in:
parent
b6d98c10ff
commit
0f91f586ae
3 changed files with 5 additions and 11 deletions
|
@ -1534,9 +1534,6 @@ PyErr_WriteUnraisable(PyObject *obj)
|
|||
}
|
||||
|
||||
|
||||
extern PyObject *PyModule_GetWarningsModule(void);
|
||||
|
||||
|
||||
void
|
||||
PyErr_SyntaxLocation(const char *filename, int lineno)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue