In every part of this Code, except where a contrary intention appears from the context, words which refer to acts done extend also to illegal omissions.
Section 32 IPC
Words referring to acts include illegal omissions
The Indian Penal Code, 1860 is repealed. It was replaced by The Bharatiya Nyaya Sanhita, 2023 from 1 July 2024; this provision still applies to matters that arose before then.