Python 类型提示中的符号 @ 是什么意思?

Leo*_*hen 5 python docstring visual-studio-code pylance

如下图所示,_S@map和是什么_T@map意思?

在此输入图像描述


附加信息:

查看multiprocessing.Pool.map定义,没有类型提示,因此上面的类型必须由 Pylance 自动生成,Pylance 是我使用的语言服务器

    def map(self, func, iterable, chunksize=None):
        '''
        Apply `func` to each element in `iterable`, collecting the results
        in a list that is returned.
        '''
        return self._map_async(func, iterable, mapstar, chunksize).get()
Run Code Online (Sandbox Code Playgroud)