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: state directory tied to the user, same as `user_data_dir`
docstr_tok: [":","return",":","state","directory","tied","to","the","user",",","same","as","`","user_data_dir","`"]
code: def user_state_dir(self) -> str:
      """:return: state directory tied to the user, same as `user_data_dir`"""
      return self.user_data_dir
  
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 6 for calling the MacOS obj's underlying member method code with example usage: obj.user_state_dir() and returns: self