From cd2cc6330c2a503c4f4e24e8967bcd47a1727cd6 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Thu, 23 Mar 2017 08:25:09 -0700 Subject: [PATCH] add stubs for stringprep (#1066) --- stdlib/2and3/stringprep.pyi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 stdlib/2and3/stringprep.pyi diff --git a/stdlib/2and3/stringprep.pyi b/stdlib/2and3/stringprep.pyi new file mode 100644 index 000000000..e3b7e9dc2 --- /dev/null +++ b/stdlib/2and3/stringprep.pyi @@ -0,0 +1,23 @@ +# Stubs for stringprep (Python 2 and 3) + +from typing import Text + +def in_table_a1(code: Text) -> bool: ... +def in_table_b1(code: Text) -> bool: ... +def map_table_b3(code: Text) -> Text: ... +def map_table_b2(a: Text) -> Text: ... +def in_table_c11(code: Text) -> bool: ... +def in_table_c12(code: Text) -> bool: ... +def in_table_c11_c12(code: Text) -> bool: ... +def in_table_c21(code: Text) -> bool: ... +def in_table_c22(code: Text) -> bool: ... +def in_table_c21_c22(code: Text) -> bool: ... +def in_table_c3(code: Text) -> bool: ... +def in_table_c4(code: Text) -> bool: ... +def in_table_c5(code: Text) -> bool: ... +def in_table_c6(code: Text) -> bool: ... +def in_table_c7(code: Text) -> bool: ... +def in_table_c8(code: Text) -> bool: ... +def in_table_c9(code: Text) -> bool: ... +def in_table_d1(code: Text) -> bool: ... +def in_table_d2(code: Text) -> bool: ...