What does the symbol @ mean in Python type hinting?

Viewed 106

As shown in image below, what do _S@map and _T@map mean?

enter image description here


Additional information:

Looking at multiprocessing.Pool.map definition there is not type hints, so the types above must be automatically generated by Pylance, which is the language server I was using

    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()
0 Answers
Related