The function does not appear in the namespace netxwork, but if you import networkx.algorithms.approximation, you will find it there:
In [311]: import networkx.algorithms.approximation as naa
In [312]: naa.min_maximal_matching
Out[319]: <function networkx.algorithms.approximation.matching.min_maximal_matching>
I found this by following the link you provided in the min_maximal_matching doc of the page in the source code .
, : networkx.algorithms.approximation.matching.
networkx/algorithms/approximation/__init__.py networkx.algorithms.approximation.matching networkx.algorthims.approximation:
from networkx.algorithms.approximation.matching import *
import networkx.algorithms.approximation as naa
, ,
In [307]: import networkx.algorithms.approximation.matching as naam
In [308]: naam.min_maximal_matching
Out[310]: <function networkx.algorithms.approximation.matching.min_maximal_matching>
, , .