Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/pathspec/_backends/re2/base.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

6 statements  

1""" 

2This module provides the base implementation for the :module:`re2` backend. 

3 

4WARNING: The *pathspec._backends.re2* package is not part of the public API. Its 

5contents and structure are likely to change. 

6""" 

7from __future__ import annotations 

8 

9from typing import ( 

10 Optional) # Replaced by `X | None` in 3.10. 

11 

12from ._base import ( 

13 re2_error) 

14 

15re2_error: Optional[Exception] 

16""" 

17*re2_error* (:class:`Exception` or :data:`None`) is the re2 import error. 

18"""