parameters: (attr)
return_statement: return attr, None
docstring: splitvalue('attr=value') --> 'attr', 'value'.
docstring_summary: splitvalue('attr=value') --> 'attr', 'value'.
docstring_tokens: splitvalue ( attr = value ) -- > attr value .
function: def splitvalue(attr):
      """splitvalue('attr=value') --> 'attr', 'value'."""
      global _valueprog
      if _valueprog is None:
          import re
          _valueprog = re.compile('^([^=]*)=(.*)$')
  
      match = _valueprog.match(attr)
      if match: return match.group(1, 2)
      return attr, None
function_tokens: def splitvalue ( attr ) : global _valueprog if _valueprog is None : import re _valueprog = re . compile ( '^([^=]*)=(.*)$' ) match = _valueprog . match ( attr ) if match : return match . group ( 1 , 2 ) return attr , None