def _import_pydot():
 import pydot
 if (parse_version(pydot.__version__) < parse_version(PYDOT_VERSION_MIN)):
  raise ImportError(('pydot %s < %s' % (pydot.__version__, PYDOT_VERSION_MIN)))
 return pydot

def _import_pydot ( ) : import pydot if ( parse_version ( pydot . __version__ ) < parse_version ( PYDOT_VERSION_MIN ) ) : raise ImportError ( ( 'pydot %s < %s' % ( pydot . __version__ , PYDOT_VERSION_MIN ) ) ) return pydot
import and return the pydot module if the currently installed version of this module satisfies networkx requirements _or_ raise an exception .