Skip to content

Commit

Permalink
Remove sphinx.util._coding_re
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Aug 11, 2024
1 parent d39ba32 commit daf1e28
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sphinx/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ def merge_other(self, docnames: set[str], other: dict[str, tuple[set[str], Any]]
self.add_file(docname, filename)


# a regex to recognize coding cookies
_coding_re = re.compile(r'coding[:=]\s*([-\w.]+)')


class UnicodeDecodeErrorHandler:
"""Custom error handler for open() that warns and replaces."""

Expand Down

0 comments on commit daf1e28

Please sign in to comment.