Make sure time.strptime only accepts strings (and document the fact like
strftime). Already didn't accept bytes but make the check earlier. This also lifts the limitation of requiring ASCII. Closes issue #5236. Thanks Tennessee Leeuwenburg.
B
Brett Cannon committed
7f6b4f86e305ec63441657c57f5f546d15114ca0
Parent: d687887