我在查看
glob
函数的定义时注意到第二个参数只是简单的*
。def glob(pathname, *, recursive=False):
"""Return a list of paths matching a pathname pattern.
[...]
"""
return list(iglob(pathname, recursive=recursive))
*
的作用是什么?