Permalink
Browse files

sphinx stuff: mark up some method/function names.

  • Loading branch information...
1 parent debb0dd commit ae2c2b221ceae8232648a42c2ba4dd5066223713 @kcarnold kcarnold committed Jul 18, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 doc/sparse.rst
View
@@ -37,10 +37,11 @@ sparse matrix operations particularly fast, at the expense of making it
inefficient to update cells one at a time. So we suggest that you build a
SparseMatrix all at once, from an existing list of data.
-This is easy to do with the :meth:`from_named_entries` factory method,
-which we also give the name `divisi2.make_sparse` because it's often
-the most convenient way to create a sparse matrix [#lists]_. It takes
-in a list of tuples, each of which contains a value, a row name, and a
+This is easy to do with the
+:py:meth:`~SparseMatrix.from_named_entries` factory method, which we
+also give the name :py:func:`divisi2.make_sparse` because it's often the most
+convenient way to create a sparse matrix [#lists]_. It takes in a
+list of tuples, each of which contains a value, a row name, and a
column name.
.. doctest::

0 comments on commit ae2c2b2

Please sign in to comment.