XML 41 R5.htm IDEA: XBRL DOCUMENT v3.24.3
Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2024
Jul. 31, 2023
Jul. 31, 2022
Statement of Comprehensive Income [Abstract]      
Pension (loss) income, tax $ 4 $ 16 $ (11)