parameters: (ref)
return_statement: return (None, ref)
docstring: Returns (namespace, entity) from |ref|, e.g. app.window.AppWindow ->
    (app.window, AppWindow). If |ref| isn't qualified then returns (None, ref).
docstring_summary: Returns (namespace, entity) from |ref|, e.g. app.window.AppWindow ->
    (app.window, AppWindow). If |ref| isn't qualified then returns (None, ref).
docstring_tokens: Returns ( namespace entity ) from |ref| e . g . app . window . AppWindow - > ( app . window AppWindow ) . If |ref| isn t qualified then returns ( None ref ) .
function: def SplitNamespace(ref):
    """Returns (namespace, entity) from |ref|, e.g. app.window.AppWindow ->
    (app.window, AppWindow). If |ref| isn't qualified then returns (None, ref).
    """
    if '.' in ref:
      return tuple(ref.rsplit('.', 1))
    return (None, ref)
function_tokens: def SplitNamespace ( ref ) : if '.' in ref : return tuple ( ref . rsplit ( '.' , 1 ) ) return ( None , ref )