Code of Civil Procedure § 1177
CHAPTER 4. Summary Proceedings for Obtaining Possession of Real Property in Certain Cases
Except as otherwise provided in this Chapter the provisions of Part II of this Code are applicable to, and constitute the rules of practice in the proceedings mentioned in this Chapter.