parameters: (host)
return_statement: return None, host
docstring: splituser('user[:passwd]@host[:port]') --> 'user[:passwd]', 'host[:port]'.
docstring_summary: splituser('user[:passwd]
docstring_tokens: splituser ( user [ : passwd ]
function: def splituser(host):
      """splituser('user[:passwd]@host[:port]') --> 'user[:passwd]', 'host[:port]'."""
      global _userprog
      if _userprog is None:
          import re
          _userprog = re.compile('^(.*)@(.*)$')
  
      match = _userprog.match(host)
      if match: return match.group(1, 2)
      return None, host
function_tokens: def splituser ( host ) : global _userprog if _userprog is None : import re _userprog = re . compile ( '^(.*)@(.*)$' ) match = _userprog . match ( host ) if match : return match . group ( 1 , 2 ) return None , host