fixed typos in str.py