XML 117 R58.htm IDEA: XBRL DOCUMENT v3.19.3
Leases - additional information (Details) - USD ($)
12 Months Ended
Aug. 31, 2019
Aug. 31, 2018
Aug. 31, 2017
Operating Leased Assets [Line Items]      
Total minimum lease payments $ 32,268,000,000    
Imputed interest and executory costs 683,000,000    
Sublease rentals 344,000,000    
Proceeds from sale leaseback transactions 3,000,000 $ 0 $ 444,000,000
Charges related to facilities that were closed or relocated 185,000,000 $ 129,000,000 $ 394,000,000
Facility Closing      
Operating Leased Assets [Line Items]      
Total minimum lease payments $ 1,600,000,000