@@ -221,17 +221,17 @@ static PyMethodDef module_methods[] = {
221221 {"pnpoly" , pnpoly , METH_VARARGS ,
222222 "inside = pnpoly(x, y, xyverts)\n\n"
223223 "Return 1 if x,y is inside the polygon, 0 otherwise.\n\n"
224- "xyverts is a sequence of x,y vertices.\n\n"
224+ "* xyverts*\n a sequence of x,y vertices.\n\n"
225225 "A point on the boundary may be treated as inside or outside.\n"
226- "See http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html" },
226+ "See `pnpoly < http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html>`_ " },
227227 {"points_inside_poly" , points_inside_poly , METH_VARARGS ,
228228 "mask = points_inside_poly(xypoints, xyverts)\n\n"
229229 "Return a boolean ndarray, True for points inside the polygon.\n\n"
230- "xypoints is a sequence of N x,y pairs.\n"
231- "xyverts is a sequence of x,y vertices of the polygon.\n"
232- "mask is an ndarray of length N.\n\n"
230+ "* xypoints*\n a sequence of N x,y pairs.\n"
231+ "* xyverts*\n sequence of x,y vertices of the polygon.\n"
232+ "* mask* an ndarray of length N.\n\n"
233233 "A point on the boundary may be treated as inside or outside.\n"
234- "See http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html" },
234+ "See `pnpoly < http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html>`_\n " },
235235 {NULL } /* Sentinel */
236236};
237237
@@ -241,7 +241,7 @@ PyMODINIT_FUNC
241241 PyObject * m ;
242242
243243 m = Py_InitModule3 ("nxutils" , module_methods ,
244- "general purpose utilities ( numpy). " );
244+ "general purpose numerical utilities, eg for computational geometry, that are not available in ` numpy <http://numpy.scipy.org>`_ " );
245245
246246 if (m == NULL )
247247 return ;
0 commit comments