]> git.ipfire.org Git - thirdparty/babel.git/commit
Remove unnecessary compat shim 'binary_type'
authorJon Dufresne <jon.dufresne@gmail.com>
Thu, 11 Oct 2018 03:34:09 +0000 (20:34 -0700)
committerAarni Koskela <akx@iki.fi>
Thu, 24 Jan 2019 22:19:37 +0000 (00:19 +0200)
commite4d834d4c1bffe05e71ee2ec21449b6b0b115e99
treef0fe40dc14a7a8401d4b468a657622a9e85a5989
parentcece931c2fef3a612e5c7da9baccf4eed41b3647
Remove unnecessary compat shim 'binary_type'

The bytes type is available on all supported Pythons. On Python 2, it is
an alias of str, same as binary_type. By removing the shim, makes the
code more forward compatible.
babel/_compat.py