This is an application for a writ of mandate to compel the respondent superior court to set aside its order denying an application for inspection pursuant to section 1000 of the Code of Civil Procedure. That section provides: "Any court in which an action is pending, or a judge thereof may, upon notice, order either party to give to the other, within a specified time, an inspection and copy or permission to take a copy, of entries of accounts in any book, or of any document or paper in his possession, or under his control, containing evidence relating to the merits of the action, or the defense therein. . . ."