Here is a pyi that PR12500 generates:

  
      gist.github.com
  
  
    https://gist.github.com/t-vi/0d0ae013072f96f50fa11fbc2287e33b 69
__init__.pyi

from typing import List, Tuple, Optional, Union, Any, ContextManager, Callable, overload

import builtins
import math
import pickle


class dtype: ...
_dtype = dtype
This file has been truncated. show original




  
  
    
    
  
  


As far as I know it works with mypy and PyCharm and has reasonable coverage.
Best regards
Thomas