class_docstr: Platform directories for the macOS operating system. Follows the guidance from `Apple documentation
  <https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/MacOSXDirectories/MacOSXDirectories.html>`_.
  Makes use of the `appname <platformdirs.api.PlatformDirsABC.appname>` and
  `version <platformdirs.api.PlatformDirsABC.version>`.
docstr: :return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``
docstr_tok: [":","return",":","config","directory","tied","to","the","user",",","e.g",".","``","~\/Library\/Preferences\/","$","appname\/","$","version","``"]
code: def user_config_dir(self) -> str:
      """:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``"""
      return self._append_app_name_and_version(
          os.path.expanduser("~/Library/Preferences/")
      )
  
file_path: catboost/contrib/python/setuptools/py3/pkg_resources/_vendor/platformdirs/macos.py
imports: from __future__ import annotations
  import os
  from .api import PlatformDirsABC
label_desc: Use image node_id 3 for calling the MacOS obj's underlying member method code with example usage: obj.user_config_dir() and returns: self