Skip to content

Commit a0f0ec5

Browse files
committed
signature
1 parent d497bc7 commit a0f0ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/highlight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class HighlightTheme:
5252
}
5353

5454

55-
def guess_language(code: str, path: str) -> str:
55+
def guess_language(code: str, path: str | None) -> str:
5656
"""Guess the language based on the code and path.
5757
The result may be used in the [highlight][textual.highlight.highlight] function.
5858

0 commit comments

Comments
 (0)