Skip to content

Commit f254b79

Browse files
authored
Merge pull request #15009 from anntzer/csig
Provide signatures to some C-level classes and methods.
2 parents 6f4dd80 + d3a6abe commit f254b79

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/_contour_wrapper.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static PyObject* PyQuadContourGenerator_new(PyTypeObject* type, PyObject* args,
2323

2424
const char* PyQuadContourGenerator_init__doc__ =
2525
"QuadContourGenerator(x, y, z, mask, corner_mask, chunk_size)\n"
26-
"\n"
26+
"--\n\n"
2727
"Create a new C++ QuadContourGenerator object\n";
2828

2929
static int PyQuadContourGenerator_init(PyQuadContourGenerator* self, PyObject* args, PyObject* kwds)
@@ -78,7 +78,7 @@ static void PyQuadContourGenerator_dealloc(PyQuadContourGenerator* self)
7878

7979
const char* PyQuadContourGenerator_create_contour__doc__ =
8080
"create_contour(level)\n"
81-
"\n"
81+
"--\n\n"
8282
"Create and return a non-filled contour.";
8383

8484
static PyObject* PyQuadContourGenerator_create_contour(PyQuadContourGenerator* self, PyObject* args, PyObject* kwds)
@@ -95,7 +95,7 @@ static PyObject* PyQuadContourGenerator_create_contour(PyQuadContourGenerator* s
9595

9696
const char* PyQuadContourGenerator_create_filled_contour__doc__ =
9797
"create_filled_contour(lower_level, upper_level)\n"
98-
"\n"
98+
"--\n\n"
9999
"Create and return a filled contour";
100100

101101
static PyObject* PyQuadContourGenerator_create_filled_contour(PyQuadContourGenerator* self, PyObject* args, PyObject* kwds)

src/tri/_tri_wrapper.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static PyObject* PyTriangulation_new(PyTypeObject* type, PyObject* args, PyObjec
2323

2424
const char* PyTriangulation_init__doc__ =
2525
"Triangulation(x, y, triangles, mask, edges, neighbors)\n"
26-
"\n"
26+
"--\n\n"
2727
"Create a new C++ Triangulation object\n"
2828
"This should not be called directly, instead use the python class\n"
2929
"matplotlib.tri.Triangulation instead.\n";
@@ -100,7 +100,7 @@ static void PyTriangulation_dealloc(PyTriangulation* self)
100100

101101
const char* PyTriangulation_calculate_plane_coefficients__doc__ =
102102
"calculate_plane_coefficients(z, plane_coefficients)\n"
103-
"\n"
103+
"--\n\n"
104104
"Calculate plane equation coefficients for all unmasked triangles";
105105

106106
static PyObject* PyTriangulation_calculate_plane_coefficients(PyTriangulation* self, PyObject* args, PyObject* kwds)
@@ -125,7 +125,7 @@ static PyObject* PyTriangulation_calculate_plane_coefficients(PyTriangulation* s
125125

126126
const char* PyTriangulation_get_edges__doc__ =
127127
"get_edges()\n"
128-
"\n"
128+
"--\n\n"
129129
"Return edges array";
130130

131131
static PyObject* PyTriangulation_get_edges(PyTriangulation* self, PyObject* args, PyObject* kwds)
@@ -142,7 +142,7 @@ static PyObject* PyTriangulation_get_edges(PyTriangulation* self, PyObject* args
142142

143143
const char* PyTriangulation_get_neighbors__doc__ =
144144
"get_neighbors()\n"
145-
"\n"
145+
"--\n\n"
146146
"Return neighbors array";
147147

148148
static PyObject* PyTriangulation_get_neighbors(PyTriangulation* self, PyObject* args, PyObject* kwds)
@@ -159,7 +159,7 @@ static PyObject* PyTriangulation_get_neighbors(PyTriangulation* self, PyObject*
159159

160160
const char* PyTriangulation_set_mask__doc__ =
161161
"set_mask(mask)\n"
162-
"\n"
162+
"--\n\n"
163163
"Set or clear the mask array.";
164164

165165
static PyObject* PyTriangulation_set_mask(PyTriangulation* self, PyObject* args, PyObject* kwds)
@@ -234,7 +234,7 @@ static PyObject* PyTriContourGenerator_new(PyTypeObject* type, PyObject* args, P
234234

235235
const char* PyTriContourGenerator_init__doc__ =
236236
"TriContourGenerator(triangulation, z)\n"
237-
"\n"
237+
"--\n\n"
238238
"Create a new C++ TriContourGenerator object\n"
239239
"This should not be called directly, instead use the functions\n"
240240
"matplotlib.axes.tricontour and tricontourf instead.\n";
@@ -369,7 +369,7 @@ static PyObject* PyTrapezoidMapTriFinder_new(PyTypeObject* type, PyObject* args,
369369

370370
const char* PyTrapezoidMapTriFinder_init__doc__ =
371371
"TrapezoidMapTriFinder(triangulation)\n"
372-
"\n"
372+
"--\n\n"
373373
"Create a new C++ TrapezoidMapTriFinder object\n"
374374
"This should not be called directly, instead use the python class\n"
375375
"matplotlib.tri.TrapezoidMapTriFinder instead.\n";

0 commit comments

Comments
 (0)