summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Hagberg <aric.hagberg+github@gmail.com>2015-12-27 14:15:52 -0700
committerAric Hagberg <aric.hagberg+github@gmail.com>2015-12-27 14:15:52 -0700
commit0123ddafd8183613f579765b9b7fd87db39678b6 (patch)
tree42c83cc2478debed75f8b2e68238f500e823370d
parentf218eb1ab38e00b725077cfefe65bc95f795dfcd (diff)
parentf2235c4cd827154c5c8b468a06b7e02344cfdc75 (diff)
downloadnetworkx-0123ddafd8183613f579765b9b7fd87db39678b6.tar.gz
Merge pull request #1518 from jg-you/fix_approximation_import
Add approximation import
-rw-r--r--networkx/algorithms/approximation/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/networkx/algorithms/approximation/__init__.py b/networkx/algorithms/approximation/__init__.py
index f04f4372..34ee31cc 100644
--- a/networkx/algorithms/approximation/__init__.py
+++ b/networkx/algorithms/approximation/__init__.py
@@ -1,3 +1,8 @@
+'''
+ .. warning:: The approximation submodule is not imported automatically with networkx.
+
+ Approximate algorithms can be imported with ``from networkx.algorithms import approximation``.
+'''
from networkx.algorithms.approximation.clustering_coefficient import *
from networkx.algorithms.approximation.clique import *
from networkx.algorithms.approximation.connectivity import *