Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d36e0f8

Browse files
author
Hood
committed
Fix METH_NOARGS functions in _tri_wrapper.cpp too
1 parent 4ded1f3 commit d36e0f8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/tri/_tri_wrapper.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const char* PyTriangulation_get_edges__doc__ =
128128
"--\n\n"
129129
"Return edges array";
130130

131-
static PyObject* PyTriangulation_get_edges(PyTriangulation* self, PyObject* args, PyObject* kwds)
131+
static PyObject* PyTriangulation_get_edges(PyTriangulation* self, PyObject* args)
132132
{
133133
Triangulation::EdgeArray* result;
134134
CALL_CPP("get_edges", (result = &self->ptr->get_edges()));
@@ -145,7 +145,7 @@ const char* PyTriangulation_get_neighbors__doc__ =
145145
"--\n\n"
146146
"Return neighbors array";
147147

148-
static PyObject* PyTriangulation_get_neighbors(PyTriangulation* self, PyObject* args, PyObject* kwds)
148+
static PyObject* PyTriangulation_get_neighbors(PyTriangulation* self, PyObject* args)
149149
{
150150
Triangulation::NeighborArray* result;
151151
CALL_CPP("get_neighbors", (result = &self->ptr->get_neighbors()));
@@ -429,7 +429,7 @@ const char* PyTrapezoidMapTriFinder_get_tree_stats__doc__ =
429429
"\n"
430430
"Return statistics about the tree used by the trapezoid map";
431431

432-
static PyObject* PyTrapezoidMapTriFinder_get_tree_stats(PyTrapezoidMapTriFinder* self, PyObject* args, PyObject* kwds)
432+
static PyObject* PyTrapezoidMapTriFinder_get_tree_stats(PyTrapezoidMapTriFinder* self, PyObject* args)
433433
{
434434
PyObject* result;
435435
CALL_CPP("get_tree_stats", (result = self->ptr->get_tree_stats()));
@@ -441,7 +441,7 @@ const char* PyTrapezoidMapTriFinder_initialize__doc__ =
441441
"\n"
442442
"Initialize this object, creating the trapezoid map from the triangulation";
443443

444-
static PyObject* PyTrapezoidMapTriFinder_initialize(PyTrapezoidMapTriFinder* self, PyObject* args, PyObject* kwds)
444+
static PyObject* PyTrapezoidMapTriFinder_initialize(PyTrapezoidMapTriFinder* self, PyObject* args)
445445
{
446446
CALL_CPP("initialize", (self->ptr->initialize()));
447447
Py_RETURN_NONE;
@@ -452,7 +452,7 @@ const char* PyTrapezoidMapTriFinder_print_tree__doc__ =
452452
"\n"
453453
"Print the search tree as text to stdout; useful for debug purposes";
454454

455-
static PyObject* PyTrapezoidMapTriFinder_print_tree(PyTrapezoidMapTriFinder* self, PyObject* args, PyObject* kwds)
455+
static PyObject* PyTrapezoidMapTriFinder_print_tree(PyTrapezoidMapTriFinder* self, PyObject* args)
456456
{
457457
CALL_CPP("print_tree", (self->ptr->print_tree()));
458458
Py_RETURN_NONE;

0 commit comments

Comments
 (0)