Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since both the Python 2 and Python 3 cases need to handle the case of zero and non-zero length separately, pull this check outside of the Python 2 or 3 version checks to simplify the code a bit.
- Loading branch information