parameters: (cls,url,referer='')
return_statement: return cls(url,DEFAULT_METHOD,params,referer)
docstring: provide http://www.example.com/?q=..
docstring_summary: provide http://www.example.com/?q=..
docstring_tokens: provide http : // www . example . com / ?q = ..
function: def fromUrl(cls,url,referer=''):
          """
          provide http://www.example.com/?q=..
          """
          url, params = url.split('?',1) if url.find('?') != -1 else (url,'')
          return cls(url,DEFAULT_METHOD,params,referer)
function_tokens: def fromUrl ( cls , url , referer = '' ) : url , params = url . split ( '?' , 1 ) if url . find ( '?' ) != - 1 else ( url , '' ) return cls ( url , DEFAULT_METHOD , params , referer )