diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-08-17 12:56:18 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-08-17 12:56:18 -0400 |
commit | 9341db452a1be0ee4c24966f01f73bb246117702 (patch) | |
tree | 47cd52537524137db1a9ae36123aa4040d8dec6b /cherrypy/_cpcompat.py | |
parent | 06ff402fd435cab2d6c6ca88884da60389426f79 (diff) | |
download | cherrypy-git-9341db452a1be0ee4c24966f01f73bb246117702.tar.gz |
Prefer standard 'bytes' to 'six.binary_type'.
Diffstat (limited to 'cherrypy/_cpcompat.py')
-rw-r--r-- | cherrypy/_cpcompat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/_cpcompat.py b/cherrypy/_cpcompat.py index 6d461dc3..f454505c 100644 --- a/cherrypy/_cpcompat.py +++ b/cherrypy/_cpcompat.py @@ -133,7 +133,7 @@ else: json_encode = _json_encode -text_or_bytes = six.text_type, six.binary_type +text_or_bytes = six.text_type, bytes if sys.version_info >= (3, 3): |