FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

# This file is generated by mkstringprep.py. DO NOT EDIT. """Library that exposes various tables found in the StringPrep RFC 3454. There are two kinds of tables: sets, for which a member test is provided, and mappings, for which a mapping function is provided. """ # This check asserts that mkstringprep.py has been run # when unicodedata is modified to ensure conformant behavior. import unicodedata assert unicodedata.unidata_version == '18.0.0' from unicodedata import ucd_3_2_0 as unicodedata_320 assert unicodedata_320.unidata_version == '3.2.0' def in_table_a1(code): if unicodedata_320.category(code) != 'Cn': return False c = ord(code) if 0xFDD0

Back | FazBrowse Home | New Git URL