COMPAT: Don't use re module's private type #20551
Labels
Compat
pandas objects compatability with Numpy or Python functions
good first issue
Refactor
Internal refactoring of code
Milestone
pandas/pandas/core/dtypes/inference.py
Line 219 in c4b4a81
In 3.6+ there's
typing.re.Pattern
. Otherwise, there's_re_type = type(re.compile(''))
.The text was updated successfully, but these errors were encountered: