diff --git a/sphinx_inlinecode/__init__.py b/sphinx_inlinecode/__init__.py index 52db97d..8cbf409 100644 --- a/sphinx_inlinecode/__init__.py +++ b/sphinx_inlinecode/__init__.py @@ -143,7 +143,6 @@ def get_target(viewcode_link: Tag) -> str: return viewcode_link.get('href').removeprefix("_modules/").replace("html#", "").replace("/", ".") -@functools.cache def get_code_block(qualname: str, obj: Any, highlighter: PythonLexer) -> BeautifulSoup: """Parses and highlights the source code lines of the provided object