def platform_data_dir():
if LINUX:  <EOL><INDENT>dpath_ = os.environ.get('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>elif DARWIN:  <EOL><INDENT>dpath_  = '<STR_LIT>'<EOL><DEDENT>elif WIN32:  <EOL><INDENT>dpath_ = os.environ.get('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>else:  <EOL><INDENT>raise '<STR_LIT>'<EOL><DEDENT>dpath = normpath(expanduser(dpath_))<EOL>return dpath<EOL>
Returns path for user-specific data files

Returns:
    PathLike : path to the data dir used by the current operating system