File: bidi.pyi

package info (click to toggle)
python-precis-i18n 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,836 kB
  • sloc: python: 1,825; sh: 28; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from typing import Set

from precis_i18n.unicode import UnicodeData

_LTR_FIRST = Set[str]
_LTR_ALLOWED = Set[str]
_LTR_LAST = Set[str]
_LTR_EXCL = Set[str]
_RTL_FIRST = Set[str]
_RTL_ALLOWED = Set[str]
_RTL_LAST = Set[str]
_RTL_EXCL = Set[str]
_RTL_ANY = Set[str]

def bidi_rule(value: str, ucd: UnicodeData) -> bool: ...
def has_rtl(value: str, ucd: UnicodeData) -> bool: ...