Skip to content

Commit

Permalink
update (biopython#4482)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoon committed Nov 2, 2023
1 parent 67dcf11 commit 8b1606a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Bio/Cluster/clustermodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ static PyMethodDef PyTree_methods[] = {
{"scale", (PyCFunction)PyTree_scale, METH_NOARGS, PyTree_scale__doc__},
{"cut", (PyCFunction)PyTree_cut, METH_VARARGS, PyTree_cut__doc__},
{"sort", (PyCFunction)PyTree_sort, METH_VARARGS, PyTree_sort__doc__},
{NULL} /* Sentinel */
{NULL, NULL, 0, NULL} /* Sentinel */
};

static char PyTree_doc[] =
Expand Down
4 changes: 2 additions & 2 deletions Bio/Nexus/cnexus.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ static PyObject * cnexus_scanfile(PyObject *self, PyObject *args)
}
}

static PyMethodDef cNexusMethods[]=
static PyMethodDef cNexusMethods[] =
{
{"scanfile",cnexus_scanfile,METH_VARARGS,"Scan file and deal with comments and quotes."},
{NULL,NULL,0,NULL}
{NULL, NULL, 0, NULL}
};

static struct PyModuleDef moduledef = {
Expand Down
3 changes: 2 additions & 1 deletion Bio/PDB/ccealignmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,8 @@ Arguments:\n\

static PyMethodDef CEAlignMethods[] = {
{"run_cealign", PyCealign, METH_VARARGS, method_doc},
{NULL, NULL, 0, NULL}};
{NULL, NULL, 0, NULL}
};

PyDoc_STRVAR(module_doc,
"Pairwise structure alignment of 3D structures using combinatorial extension.\
Expand Down
2 changes: 1 addition & 1 deletion Bio/PDB/kdtrees.c
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ static PyMethodDef KDTree_methods[] = {
(PyCFunction)PyKDTree_neighbor_simple_search,
METH_VARARGS,
PyKDTree_neighbor_simple_search__doc__},
{NULL} /* Sentinel */
{NULL, NULL, 0, NULL} /* Sentinel */
};

PyDoc_STRVAR(KDTree_doc,
Expand Down
2 changes: 1 addition & 1 deletion Bio/SeqIO/_twoBitIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ static struct PyMethodDef _twoBitIO_methods[] = {
METH_VARARGS | METH_KEYWORDS,
TwoBit_convert__doc__
},
{NULL, NULL, 0, NULL} /* sentinel */
{NULL, NULL, 0, NULL} /* sentinel */
};


Expand Down
2 changes: 1 addition & 1 deletion Bio/motifs/_pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static struct PyMethodDef methods[] = {
METH_VARARGS | METH_KEYWORDS,
PyDoc_STR(calculate__doc__),
},
{NULL, NULL, 0, NULL} // sentinel
{NULL, NULL, 0, NULL} /* sentinel */
};

static struct PyModuleDef moduledef = {
Expand Down

0 comments on commit 8b1606a

Please sign in to comment.