diff options
author | Bob Ippolito <bob@redivi.com> | 2018-04-25 09:36:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 09:36:42 -0700 |
commit | 831764b485060d11f903e050904d53ac42337d16 (patch) | |
tree | 38727859a6481299dbbfd9d60b4167a57f6234c0 | |
parent | 3e5e4420f7de79956c1ec2d909e994ab142c2930 (diff) | |
download | simplejson-831764b485060d11f903e050904d53ac42337d16.tar.gz |
Fix the other comment typos
-rw-r--r-- | simplejson/encoder.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/simplejson/encoder.py b/simplejson/encoder.py index 2cf5e3a..7ea172e 100644 --- a/simplejson/encoder.py +++ b/simplejson/encoder.py @@ -70,15 +70,15 @@ def py_encode_basestring_ascii(s, _PY3=PY3): if isinstance(s, bytes): s = str(s, 'utf-8') elif type(s) is not str: - # convetr an str subclass instance to exact str + # convert an str subclass instance to exact str # raise a TypeError otherwise s = str.__str__(s) else: if isinstance(s, str) and HAS_UTF8.search(s) is not None: s = unicode(s, 'utf-8') elif type(s) not in (str, unicode): - # convetr an str subclass instance to exact str - # convetr a unicode subclass instance to exact unicode + # convert an str subclass instance to exact str + # convert a unicode subclass instance to exact unicode # raise a TypeError otherwise if isinstance(s, str): s = str.__str__(s) |