fnmatch.compile not available?
S: triage
i just followed the instruction from official documentation: https://facelessuser.github.io/wcmatch/fnmatch/#precompiling
```python
import wcmatch.fnmatch as fnmatch
print(fnmatch.compile)
```
but got
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'wcmatch.fnmatch' has no attribute 'compile'
```
how can we use compile function?
关闭于 2025-09-11 3 条评论