title: Is it possible to type-hint a compiled regex in python?
body: <p>I would like to use autocompletion for a pre-compiled and stored list of regular expressions, but it doesn't appear that I can import the _sre.SRE_Pattern class, and I can't programmatically feed the obtained type from type() to a comment of the format # type: classname or use it for a return -&gt; classname style hint</p>
  <p>Is there a way to explicitly import a class from the _sre.c thing?</p>