Commit 7a0fef43 authored by Tiago Peixoto's avatar Tiago Peixoto

Small doc fixes

parent b67503a8
......@@ -19,8 +19,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
``graph_tool`` - an efficient python module for graph analysis and manipulation
===============================================================================
``graph_tool`` - efficient graph analysis and manipulation
===========================================================
This module provides:
......
......@@ -464,8 +464,7 @@ def random_rewire(g, strat="uncorrelated", parallel_edges=False,
def predecessor_tree(g, pred_map):
"""Return a graph from a list of predecessors given by
the 'pred_map' vertex property."""
"""Return a graph from a list of predecessors given by the ``pred_map`` vertex property."""
_check_prop_scalar(pred_map, "pred_map")
pg = Graph()
......
......@@ -81,9 +81,8 @@ def inline(code, arg_names=None, local_dict=None,
library_dirs=None, extra_compile_args=None,
runtime_library_dirs=None, extra_objects=None,
extra_link_args=None, mask_ret=None, debug=False):
"""Compile (if necessary) and run the C++ code specified by 'code', using
:mod:`~scipy.weave`. The (possibly modified) variables in 'arg_names' are
returned.
"""Compile (if necessary) and run the C++ code specified by 'code', using :mod:`~scipy.weave`.
The (possibly modified) variables in 'arg_names' are returned.
See :func:`scipy.weave.inline` for detailed parameter documentation.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment