mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Avoid forward-declaring the methods array.
Rename unicodedata.db* to unicodedata.ucd*
This commit is contained in:
parent
f669436189
commit
5bd7c02298
5 changed files with 57 additions and 56 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# This module implements the RFCs 3490 (IDNA) and 3491 (Nameprep)
|
||||
|
||||
import stringprep, re, codecs
|
||||
from unicodedata import db_3_2_0 as unicodedata
|
||||
from unicodedata import ucd_3_2_0 as unicodedata
|
||||
|
||||
# IDNA section 3.1
|
||||
dots = re.compile(u"[\u002E\u3002\uFF0E\uFF61]")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue