parameters: (self, path)
return_statement: return bool(scheme and netloc)
docstring: Test if path is a net location.  Tests the scheme and netloc.
docstring_summary: Test if path is a net location.  Tests the scheme and netloc.
docstring_tokens: Test if path is a net location . Tests the scheme and netloc .
function: def _isurl(self, path):
          """Test if path is a net location.  Tests the scheme and netloc."""
  
          # We do this here to reduce the 'import numpy' initial import time.
          from urlparse import urlparse
  
          # BUG : URLs require a scheme string ('http://') to be used.
          #       www.google.com will fail.
          #       Should we prepend the scheme for those that don't have it and
          #       test that also?  Similar to the way we append .gz and test for
          #       for compressed versions of files.
  
          scheme, netloc, upath, uparams, uquery, ufrag = urlparse(path)
          return bool(scheme and netloc)
function_tokens: def _isurl ( self , path ) : # We do this here to reduce the 'import numpy' initial import time. from urlparse import urlparse # BUG : URLs require a scheme string ('http://') to be used. #       www.google.com will fail. #       Should we prepend the scheme for those that don't have it and #       test that also?  Similar to the way we append .gz and test for #       for compressed versions of files. scheme , netloc , upath , uparams , uquery , ufrag = urlparse ( path ) return bool ( scheme and netloc )