summaryrefslogtreecommitdiff
path: root/unidecode/x04d.py
diff options
context:
space:
mode:
authorTomaz Solc <tomaz.solc@tablix.org>2020-12-20 12:07:14 +0100
committerTomaz Solc <tomaz.solc@tablix.org>2020-12-20 12:17:11 +0100
commit35736d98b3faaed195c710928a01d16873340e63 (patch)
tree3b956c779a8edf7cacd94d3e17bfc7b390cd0a91 /unidecode/x04d.py
parentb3598875da011385cb5428f37f9ef8098c619768 (diff)
downloadunidecode-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/x04d.py')
-rw-r--r--unidecode/x04d.py146
1 files changed, 73 insertions, 73 deletions
diff --git a/unidecode/x04d.py b/unidecode/x04d.py
index b025461..b93b265 100644
--- a/unidecode/x04d.py
+++ b/unidecode/x04d.py
@@ -181,77 +181,77 @@ data = (
'[?] ', # 0xb3
'[?] ', # 0xb4
'[?] ', # 0xb5
-'[?]', # 0xb6
-'[?]', # 0xb7
-'[?]', # 0xb8
-'[?]', # 0xb9
-'[?]', # 0xba
-'[?]', # 0xbb
-'[?]', # 0xbc
-'[?]', # 0xbd
-'[?]', # 0xbe
-'[?]', # 0xbf
-'[?]', # 0xc0
-'[?]', # 0xc1
-'[?]', # 0xc2
-'[?]', # 0xc3
-'[?]', # 0xc4
-'[?]', # 0xc5
-'[?]', # 0xc6
-'[?]', # 0xc7
-'[?]', # 0xc8
-'[?]', # 0xc9
-'[?]', # 0xca
-'[?]', # 0xcb
-'[?]', # 0xcc
-'[?]', # 0xcd
-'[?]', # 0xce
-'[?]', # 0xcf
-'[?]', # 0xd0
-'[?]', # 0xd1
-'[?]', # 0xd2
-'[?]', # 0xd3
-'[?]', # 0xd4
-'[?]', # 0xd5
-'[?]', # 0xd6
-'[?]', # 0xd7
-'[?]', # 0xd8
-'[?]', # 0xd9
-'[?]', # 0xda
-'[?]', # 0xdb
-'[?]', # 0xdc
-'[?]', # 0xdd
-'[?]', # 0xde
-'[?]', # 0xdf
-'[?]', # 0xe0
-'[?]', # 0xe1
-'[?]', # 0xe2
-'[?]', # 0xe3
-'[?]', # 0xe4
-'[?]', # 0xe5
-'[?]', # 0xe6
-'[?]', # 0xe7
-'[?]', # 0xe8
-'[?]', # 0xe9
-'[?]', # 0xea
-'[?]', # 0xeb
-'[?]', # 0xec
-'[?]', # 0xed
-'[?]', # 0xee
-'[?]', # 0xef
-'[?]', # 0xf0
-'[?]', # 0xf1
-'[?]', # 0xf2
-'[?]', # 0xf3
-'[?]', # 0xf4
-'[?]', # 0xf5
-'[?]', # 0xf6
-'[?]', # 0xf7
-'[?]', # 0xf8
-'[?]', # 0xf9
-'[?]', # 0xfa
-'[?]', # 0xfb
-'[?]', # 0xfc
-'[?]', # 0xfd
-'[?]', # 0xfe
+None, # 0xb6
+None, # 0xb7
+None, # 0xb8
+None, # 0xb9
+None, # 0xba
+None, # 0xbb
+None, # 0xbc
+None, # 0xbd
+None, # 0xbe
+None, # 0xbf
+None, # 0xc0
+None, # 0xc1
+None, # 0xc2
+None, # 0xc3
+None, # 0xc4
+None, # 0xc5
+None, # 0xc6
+None, # 0xc7
+None, # 0xc8
+None, # 0xc9
+None, # 0xca
+None, # 0xcb
+None, # 0xcc
+None, # 0xcd
+None, # 0xce
+None, # 0xcf
+None, # 0xd0
+None, # 0xd1
+None, # 0xd2
+None, # 0xd3
+None, # 0xd4
+None, # 0xd5
+None, # 0xd6
+None, # 0xd7
+None, # 0xd8
+None, # 0xd9
+None, # 0xda
+None, # 0xdb
+None, # 0xdc
+None, # 0xdd
+None, # 0xde
+None, # 0xdf
+None, # 0xe0
+None, # 0xe1
+None, # 0xe2
+None, # 0xe3
+None, # 0xe4
+None, # 0xe5
+None, # 0xe6
+None, # 0xe7
+None, # 0xe8
+None, # 0xe9
+None, # 0xea
+None, # 0xeb
+None, # 0xec
+None, # 0xed
+None, # 0xee
+None, # 0xef
+None, # 0xf0
+None, # 0xf1
+None, # 0xf2
+None, # 0xf3
+None, # 0xf4
+None, # 0xf5
+None, # 0xf6
+None, # 0xf7
+None, # 0xf8
+None, # 0xf9
+None, # 0xfa
+None, # 0xfb
+None, # 0xfc
+None, # 0xfd
+None, # 0xfe
)