diff options
| author | Tomaz Solc <tomaz.solc@tablix.org> | 2020-12-20 12:07:14 +0100 |
|---|---|---|
| committer | Tomaz Solc <tomaz.solc@tablix.org> | 2020-12-20 12:17:11 +0100 |
| commit | 35736d98b3faaed195c710928a01d16873340e63 (patch) | |
| tree | 3b956c779a8edf7cacd94d3e17bfc7b390cd0a91 /unidecode/x024.py | |
| parent | b3598875da011385cb5428f37f9ef8098c619768 (diff) | |
| download | unidecode-35736d98b3faaed195c710928a01d16873340e63.tar.gz | |
Mass replace '[?]' -> None
To make use of the new 'errors' argument.
It seems '[?]' was used in the original Perl tables for unassigned codepoints.
Diffstat (limited to 'unidecode/x024.py')
| -rw-r--r-- | unidecode/x024.py | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/unidecode/x024.py b/unidecode/x024.py index 231b0ca..5712617 100644 --- a/unidecode/x024.py +++ b/unidecode/x024.py @@ -38,31 +38,31 @@ data = ( '', # 0x24 '', # 0x25 '', # 0x26 -'[?]', # 0x27 -'[?]', # 0x28 -'[?]', # 0x29 -'[?]', # 0x2a -'[?]', # 0x2b -'[?]', # 0x2c -'[?]', # 0x2d -'[?]', # 0x2e -'[?]', # 0x2f -'[?]', # 0x30 -'[?]', # 0x31 -'[?]', # 0x32 -'[?]', # 0x33 -'[?]', # 0x34 -'[?]', # 0x35 -'[?]', # 0x36 -'[?]', # 0x37 -'[?]', # 0x38 -'[?]', # 0x39 -'[?]', # 0x3a -'[?]', # 0x3b -'[?]', # 0x3c -'[?]', # 0x3d -'[?]', # 0x3e -'[?]', # 0x3f +None, # 0x27 +None, # 0x28 +None, # 0x29 +None, # 0x2a +None, # 0x2b +None, # 0x2c +None, # 0x2d +None, # 0x2e +None, # 0x2f +None, # 0x30 +None, # 0x31 +None, # 0x32 +None, # 0x33 +None, # 0x34 +None, # 0x35 +None, # 0x36 +None, # 0x37 +None, # 0x38 +None, # 0x39 +None, # 0x3a +None, # 0x3b +None, # 0x3c +None, # 0x3d +None, # 0x3e +None, # 0x3f '', # 0x40 '', # 0x41 '', # 0x42 @@ -74,27 +74,27 @@ data = ( '', # 0x48 '', # 0x49 '', # 0x4a -'[?]', # 0x4b -'[?]', # 0x4c -'[?]', # 0x4d -'[?]', # 0x4e -'[?]', # 0x4f -'[?]', # 0x50 -'[?]', # 0x51 -'[?]', # 0x52 -'[?]', # 0x53 -'[?]', # 0x54 -'[?]', # 0x55 -'[?]', # 0x56 -'[?]', # 0x57 -'[?]', # 0x58 -'[?]', # 0x59 -'[?]', # 0x5a -'[?]', # 0x5b -'[?]', # 0x5c -'[?]', # 0x5d -'[?]', # 0x5e -'[?]', # 0x5f +None, # 0x4b +None, # 0x4c +None, # 0x4d +None, # 0x4e +None, # 0x4f +None, # 0x50 +None, # 0x51 +None, # 0x52 +None, # 0x53 +None, # 0x54 +None, # 0x55 +None, # 0x56 +None, # 0x57 +None, # 0x58 +None, # 0x59 +None, # 0x5a +None, # 0x5b +None, # 0x5c +None, # 0x5d +None, # 0x5e +None, # 0x5f '1', # 0x60 '2', # 0x61 '3', # 0x62 |
