summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2023-04-04 13:38:35 -0700
committerBob Ippolito <bob@redivi.com>2023-04-04 13:38:52 -0700
commit440a5e45be508bb0a0ed25af62b7dbfe8cf1e142 (patch)
tree5b6eb5814c44fa7ec2e6b013cd796589a688b7c2
parentdbd0aa395f480ef249cff9dc9add54a3035fc9e2 (diff)
downloadsimplejson-440a5e45be508bb0a0ed25af62b7dbfe8cf1e142.tar.gz
SJ-PT-23-101: Remove unused unichr import from encoder
-rw-r--r--CHANGES.txt1
-rw-r--r--simplejson/encoder.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 270b22e..4b600ef 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -8,6 +8,7 @@ Version 3.19.0 released 2023-04-XX
limit quadratic number parsing (SJ-PT-23-03)
* Fix inconsistencies with error messages between the C and Python
implementations (SJ-PT-23-100)
+* Remove unused unichr import from encoder (SJ-PT-23-101)
Version 3.18.4 released 2023-03-14
diff --git a/simplejson/encoder.py b/simplejson/encoder.py
index e93fe43..3f94f3a 100644
--- a/simplejson/encoder.py
+++ b/simplejson/encoder.py
@@ -5,7 +5,7 @@ import re
from operator import itemgetter
# Do not import Decimal directly to avoid reload issues
import decimal
-from .compat import unichr, binary_type, text_type, string_types, integer_types, PY3
+from .compat import binary_type, text_type, string_types, integer_types, PY3
def _import_speedups():
try:
from . import _speedups