signature

This commit is contained in:
Will McGugan
2025-10-08 17:57:34 +01:00
parent d497bc711a
commit a0f0ec5ba6

View File

@@ -52,7 +52,7 @@ class HighlightTheme:
}
def guess_language(code: str, path: str) -> str:
def guess_language(code: str, path: str | None) -> str:
"""Guess the language based on the code and path.
The result may be used in the [highlight][textual.highlight.highlight] function.