Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 证明os.pardir的规范引用在哪里?_Python_Macos_Standards_History_Standards Compliance - Fatal编程技术网

Python 证明os.pardir的规范引用在哪里?

Python 证明os.pardir的规范引用在哪里?,python,macos,standards,history,standards-compliance,Python,Macos,Standards,History,Standards Compliance,Python标准库是一个os.pardir,应该是相同的os.path.pardir os.py说明: - os.curdir is a string representing the current directory ('.' or ':') - os.pardir is a string representing the parent directory ('..' or '::') 并且macpath.py具有 curdir = ':' pardir = '::' sep =

Python标准库是一个
os.pardir
,应该是相同的
os.path.pardir

os.py
说明:

  - os.curdir is a string representing the current directory ('.' or ':')
  - os.pardir is a string representing the parent directory ('..' or '::')
并且
macpath.py
具有

curdir = ':'
pardir = '::'
sep = ':'
这似乎是包含
os.pardir
的充分理由。 除此之外,我不知道pardir的其他用途

然而,根据Mac,我找不到Mac支持或要求将
作为父目录符号的规范历史参考

根据其他操作系统,我不知道有任何其他操作系统使用与
不同的pardir。

  • pardir是否与
    有任何其他操作系统不同。

  • 究竟哪个文档(如果有)指定了
    作为旧版Mac=OSX的路径分隔符


显示当前/父目录符号的不同版本。除了“::”和“…”之外,它还记录了一些其他的东西。@两位比特炼金术士非常好。很遗憾,它没有关于它们的参考资料(你到底在寻找什么样的文档?正如你所猜测的,
macpath.py
指的是经典Mac操作系统的文件路径(@Two-bitalchest,比如微软的(虽然我不确定它到底有多确定)或POSIX)。我想维基文章也提到了,但它没有外来的操作系统分隔符:)。我在该表中找不到一些经典Mac或其他操作系统的文档,其中特别提到了
,或
^