parameters: ()
return_statement: return USER_BASE
docstring: Returns the `user base` directory path.
  
      The `user base` directory can be used to store data. If the global
      variable ``USER_BASE`` is not initialized yet, this function will also set
      it.
docstring_summary: Returns the `user base` directory path.
docstring_tokens: Returns the user base directory path .
function: def getuserbase():
      """Returns the `user base` directory path.
  
      The `user base` directory can be used to store data. If the global
      variable ``USER_BASE`` is not initialized yet, this function will also set
      it.
      """
      global USER_BASE
      if USER_BASE is not None:
          return USER_BASE
      from sysconfig import get_config_var
      USER_BASE = get_config_var('userbase')
      return USER_BASE
function_tokens: def getuserbase ( ) : global USER_BASE if USER_BASE is not None : return USER_BASE from sysconfig import get_config_var USER_BASE = get_config_var ( 'userbase' ) return USER_BASE