Technically yes, but the amount is negligible. The Python interpreter does have to read and bypass the pass statement, but it's an extremely fast operation.