section 1162 of the code of civil procedure