Remove _mysql.thread_safe() (#311)

This commit is contained in:
INADA Naoki
2018-12-13 16:10:58 +09:00
committed by GitHub
parent aca63e5d1c
commit 4b40c8ce05
3 changed files with 0 additions and 20 deletions

View File

@ -225,16 +225,6 @@ _get_encoding(MYSQL *mysql)
return cs.csname;
}
static char _mysql_thread_safe__doc__[] =
"Indicates whether the client is compiled as thread-safe.";
static PyObject *_mysql_thread_safe(
PyObject *self,
PyObject *noargs)
{
return PyInt_FromLong((long)mysql_thread_safe());
}
static char _mysql_ResultObject__doc__[] =
"result(connection, use=0, converter={}) -- Result set from a query.\n\
\n\
@ -2585,12 +2575,6 @@ _mysql_methods[] = {
METH_NOARGS,
_mysql_get_client_info__doc__
},
{
"thread_safe",
(PyCFunction)_mysql_thread_safe,
METH_NOARGS,
_mysql_thread_safe__doc__
},
{NULL, NULL} /* sentinel */
};