Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我*.py{}在一个.gitignore文件中找到,我想知道这个扩展名是什么。
*.py{}
.gitignore
在这里找到。
在这里。
PS。git commit 提到了 pypy。
它不是常见的文件扩展名,但大括号{}用于 glob(如正则表达式)以进行模式识别。从这个关于 glob 的链接,它是
{}
Bash 风格的大括号扩展。这首先应用于模式。
虽然它是空的,所以我不确定它在这种情况下是否有用。