Section 8 of The Indian Penal Code, 1860 View Chapter 2

Gender

The pronoun “he” and its derivatives are used of any person, whether male or female.