parameters: ()
return_statement: return tempdir
docstring: Accessor for tempfile.tempdir.
docstring_summary: Accessor for tempfile.tempdir.
docstring_tokens: Accessor for tempfile . tempdir .
function: def gettempdir():
      """Accessor for tempfile.tempdir."""
      global tempdir
      if tempdir is None:
          _once_lock.acquire()
          try:
              if tempdir is None:
                  tempdir = _get_default_tempdir()
          finally:
              _once_lock.release()
      return tempdir
function_tokens: def gettempdir ( ) : global tempdir if tempdir is None : _once_lock . acquire ( ) try : if tempdir is None : tempdir = _get_default_tempdir ( ) finally : _once_lock . release ( ) return tempdir