MCPcopy Index your code
hub / github.com/sphinx-doc/sphinx / parse_options

Method parse_options

sphinx/directives/code.py:215–219  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

213 self.parse_options()
214
215 def parse_options(self) -> None:
216 for option1, option2 in self.INVALID_OPTIONS_PAIR:
217 if option1 in self.options and option2 in self.options:
218 msg = __('Cannot use both "%s" and "%s" options') % (option1, option2)
219 raise ValueError(msg)
220
221 def read_file(
222 self, filename: str | os.PathLike[str], location: tuple[str, int] | None = None

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected