Determine if the object is a compiled re or array of compiled re.
(pat: Any)
| 99 | |
| 100 | |
| 101 | def _contains_compiled_re(pat: Any) -> bool: |
| 102 | """Determine if the object is a compiled re or array of compiled re.""" |
| 103 | return _contains_obj_type(pat=pat, checker=re.Pattern) |
| 104 | |
| 105 | |
| 106 | def _contains_callable(pat: Any) -> bool: |
no test coverage detected
searching dependent graphs…