Correct typos

1.  Change reference to Python name attribute to use code formatting (to
distinguish it from ordinary language use of name).
2. Move fullstop from inside bracketed clause to outside.
3. Change upper case T after colon to lower case t.