XML 70 R48.htm IDEA: XBRL DOCUMENT v3.21.2
Summary of major accounting policies - reconciliation of cash, cash equivalents and restricted cash (Details) - USD ($)
$ in Millions
Aug. 31, 2021
Aug. 31, 2020
Aug. 31, 2019
Aug. 31, 2018
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents $ 1,193 $ 469    
Cash, cash equivalents and restricted cash 1,270 746 $ 1,207 $ 975
Continuing operations        
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents 1,193 469    
Restricted cash 77 62    
Discontinued operations        
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents 0 47    
Restricted cash $ 0 $ 168