XML 111 R91.htm IDEA: XBRL DOCUMENT v3.24.3
Retirement benefits - accumulated other comprehensive income (Details) - Pension Plan - USD ($)
$ in Millions
Aug. 31, 2024
Aug. 31, 2023
Aug. 31, 2022
Defined Benefit Plan Disclosure [Line Items]      
Net actuarial loss (gain) $ 262 $ 730 $ (251)
Prior service cost (273) (1) (1)
Total pre-tax comprehensive loss (income) $ (11) $ 729 $ (252)