mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #4730 from guoci/regex_no_warning
prevent raising of FutureWarning in regex
This commit is contained in:
@@ -23,7 +23,7 @@ if False:
|
||||
# For type annotation
|
||||
from typing import Generator # NOQA
|
||||
|
||||
symbols_re = re.compile(r'([!--/:-@\[-`{-~])') # symbols without dot(0x2e)
|
||||
symbols_re = re.compile(r'([!-\-/:-@\[-`{-~])') # symbols without dot(0x2e)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user