code: def getcwd(fs_encoding=FS_ENCODING, cwd_fnc=os.getcwd):
      '''
      Get current work directory's absolute path.
      Like os.getcwd but garanteed to return an unicode-str object.
  
      :param fs_encoding: filesystem encoding, defaults to autodetected
      :type fs_encoding: str
      :param cwd_fnc: callable used to get the path, defaults to os.getcwd
      :type cwd_fnc: Callable
      :return: path
      :rtype: str
      '''
      path = fsdecode(cwd_fnc(), fs_encoding=fs_encoding)
      return os.path.abspath(pathf getcwd(fs_encoding=FS_ENCODING, cwd_fnc=os.getcwd):
      '''
      Get current work directory's absolute path.
      Like os.getcwd but garanteed to return an unicode-str object.
  
      :param fs_encoding: filesystem encoding, defaults to autodetected
      :type fs_encoding: str
      :param cwd_fnc: callable used to get the path, defaults to os.getcwd
      :type cwd_fnc: Callable
      :return: path
      :rtype: str
      '''
      path = fsdecode(cwd_fnc(), fs_encoding=fs_encoding)
      return os.path.abspath(path)
docs: Get current work directory's absolute path.
      Like os.getcwd but garanteed to return an unicode-str object.
  
      :param fs_encoding: filesystem encoding, defaults to autodetected
      :type fs_encoding: str
      :param cwd_fnc: callable used to get the path, defaults to os.getcwd
      :type cwd_fnc: Callable
      :return: path
      :rtype: str