Skip to content

Commit 0718ed1

Browse files
authored
Add language.pyi with language tag validation function
1 parent d3889ed commit 0718ed1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from typing import Final, Pattern
2+
3+
_LANGUAGE_TAG_RE: Final[Pattern[str]]
4+
5+
def is_valid_language_tag(tag: str) -> bool: ...

0 commit comments

Comments
 (0)