mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 21:44:34 +00:00
refactor: move idna
, certifi
to package-index
This commit is contained in:
parent
2a26cc8a1d
commit
7e961e37ed
6 changed files with 0 additions and 56 deletions
|
@ -1,3 +0,0 @@
|
|||
.core = pyimport "./core"
|
||||
|
||||
{.contents!; .where!} = .core
|
|
@ -1,2 +0,0 @@
|
|||
.contents!: () => Str
|
||||
.where!: () => Str
|
|
@ -1,18 +0,0 @@
|
|||
.core = pyimport "./core"
|
||||
|
||||
{
|
||||
.alabel;
|
||||
.check_bidi;
|
||||
.check_hyphen_ok;
|
||||
.check_initial_combiner;
|
||||
.check_label;
|
||||
.check_nfc;
|
||||
.decode;
|
||||
.encode;
|
||||
.ulabel;
|
||||
.uts46_remap;
|
||||
.valid_contextj;
|
||||
.valid_contexto;
|
||||
.valid_label_length;
|
||||
.valid_string_length;
|
||||
} = .core
|
|
@ -1,33 +0,0 @@
|
|||
.IDNAError: ClassType
|
||||
.IDNABidiError: ClassType
|
||||
.IDNABidiError <: .IDNAError
|
||||
.InvalidCodepoint: ClassType
|
||||
.InvalidCodepoint <: .IDNAError
|
||||
.InvalidCodepointContext: ClassType
|
||||
.InvalidCodepointContext <: .IDNAError
|
||||
|
||||
.valid_label_length: (label: Str or Bytes) -> Bool
|
||||
.valid_string_length: (label: Str or Bytes, trailing_dot: Bool) -> Bool
|
||||
.check_bidi: (label: Str, check_ltr := Bool) -> Bool
|
||||
.check_initial_combiner: (label: Str) -> Bool
|
||||
.check_hyphen_ok: (label: Str) -> Bool
|
||||
.check_nfc: (label: Str) -> Bool
|
||||
.valid_contextj: (label: Str, pos: Int) -> Bool
|
||||
.valid_contexto: (label: Str, pos: Int, exception := Bool) -> Bool
|
||||
.check_label: (label: Str or Bytes) -> NoneType
|
||||
.alabel: (label: Str) -> Bytes
|
||||
.ulabel: (label: Str or Bytes) -> Str
|
||||
.uts46_remap: (domain: Str or Bytes, std3_rules := Bool, transitional := Bool) -> Str
|
||||
.encode: (
|
||||
s: Str or Bytes,
|
||||
strict:= Bool,
|
||||
uts46:= Bool,
|
||||
std3_rules:= Bool,
|
||||
transitional:= Bool,
|
||||
) -> Bytes
|
||||
.decode: (
|
||||
s: Str or Bytes,
|
||||
strict:= Bool,
|
||||
uts46:= Bool,
|
||||
std3_rules:= Bool,
|
||||
) -> Str
|
Loading…
Add table
Add a link
Reference in a new issue