summaryrefslogtreecommitdiff
path: root/unidecode/x032.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/x032.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/x032.py')
-rw-r--r--unidecode/x032.py38
1 files changed, 19 insertions, 19 deletions
diff --git a/unidecode/x032.py b/unidecode/x032.py
index a0c21d1..2aa497a 100644
--- a/unidecode/x032.py
+++ b/unidecode/x032.py
@@ -28,9 +28,9 @@ data = (
'(pa)', # 0x1a
'(ha)', # 0x1b
'(ju)', # 0x1c
-'[?]', # 0x1d
-'[?]', # 0x1e
-'[?]', # 0x1f
+None, # 0x1d
+None, # 0x1e
+None, # 0x1f
'(1) ', # 0x20
'(2) ', # 0x21
'(3) ', # 0x22
@@ -67,19 +67,19 @@ data = (
'(Xiu) ', # 0x41
'<<', # 0x42
'>>', # 0x43
-'[?]', # 0x44
-'[?]', # 0x45
-'[?]', # 0x46
-'[?]', # 0x47
-'[?]', # 0x48
-'[?]', # 0x49
-'[?]', # 0x4a
-'[?]', # 0x4b
-'[?]', # 0x4c
-'[?]', # 0x4d
-'[?]', # 0x4e
-'[?]', # 0x4f
-'[?]', # 0x50
+None, # 0x44
+None, # 0x45
+None, # 0x46
+None, # 0x47
+None, # 0x48
+None, # 0x49
+None, # 0x4a
+None, # 0x4b
+None, # 0x4c
+None, # 0x4d
+None, # 0x4e
+None, # 0x4f
+None, # 0x50
'21', # 0x51
'22', # 0x52
'23', # 0x53
@@ -123,9 +123,9 @@ data = (
'(ta)', # 0x79
'(pa)', # 0x7a
'(ha)', # 0x7b
-'[?]', # 0x7c
-'[?]', # 0x7d
-'[?]', # 0x7e
+None, # 0x7c
+None, # 0x7d
+None, # 0x7e
'KIS ', # 0x7f
'(1) ', # 0x80
'(2) ', # 0x81