Skip to content

Commit

Permalink
SJ-PT-23-101: Remove unused unichr import from encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Apr 4, 2023
1 parent dbd0aa3 commit 440a5e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion simplejson/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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
Expand Down

0 comments on commit 440a5e4

Please sign in to comment.