v3.25.2
Short-term Borrowings and Long-term Debt (Schedule of Long-term Debt Instruments) (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 03, 2025
Jul. 28, 2024
Jul. 30, 2023
Debt Instrument [Line Items]      
Finance Lease, Liability, Noncurrent $ 38 $ 46  
Finance Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] Long-term Debt and Lease Obligation Long-term Debt and Lease Obligation  
Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net [1] $ (2) $ (2)  
Long Term Debt And Finance Lease Obligations Aggregate 6,495 6,911  
Long-term Debt, Current Maturities 400 1,150  
Long-term Debt and Lease Obligation $ 6,095 5,761  
3.95% notes, due 2025      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 3.95%    
Debt Instrument, Maturity Date Mar. 15, 2025    
Long-term Debt, Gross $ 0 850  
3.30% notes, due 2025      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 3.30%    
Debt Instrument, Maturity Date Mar. 19, 2025    
Long-term Debt, Gross $ 0 300  
Variable Interest Rate due 2025      
Debt Instrument [Line Items]      
Debt Instrument, Description of Variable Rate Basis Variable-rate    
Debt Instrument, Maturity Date Nov. 15, 2025    
Long-term Debt, Gross $ 0 400 $ 500
5.30% notes, due 2026      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 5.30%    
Debt Instrument, Maturity Date Mar. 20, 2026    
Long-term Debt, Gross $ 400 400  
5.20% notes, due 2027      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 5.20%    
Debt Instrument, Maturity Date Mar. 19, 2027    
Long-term Debt, Gross $ 500 500  
4.15% notes, due 2028      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 4.15%    
Debt Instrument, Maturity Date Mar. 15, 2028    
Long-term Debt, Gross $ 1,000 1,000  
5.20% notes, due 2029      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 5.20%    
Debt Instrument, Maturity Date Mar. 21, 2029    
Long-term Debt, Gross $ 600 600  
2.375% notes, due 2030      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 2.375%    
Debt Instrument, Maturity Date Apr. 24, 2030    
Long-term Debt, Gross $ 500 500  
5.40% notes, due 2034      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 5.40%    
Debt Instrument, Maturity Date Mar. 21, 2034    
Long-term Debt, Gross $ 1,000 1,000  
4.75% notes, due 2035      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 4.75%    
Debt Instrument, Maturity Date Mar. 23, 2035    
Long-term Debt, Gross $ 800 0  
3.80% notes, due 2043      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 3.80%    
Debt Instrument, Maturity Date Aug. 02, 2042    
Long-term Debt, Gross $ 163 163  
4.80% notes, due 2048      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 4.80%    
Debt Instrument, Maturity Date Mar. 15, 2048    
Long-term Debt, Gross $ 700 700  
3.125% notes, due 2050      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 3.125%    
Debt Instrument, Maturity Date Apr. 24, 2050    
Long-term Debt, Gross $ 500 500  
5.25% notes, due 2054      
Debt Instrument [Line Items]      
Debt Instrument, Interest Rate, Stated Percentage 5.25%    
Debt Instrument, Maturity Date Oct. 13, 2054    
Long-term Debt, Gross $ 350 0  
Long-term Debt [Member]      
Debt Instrument [Line Items]      
Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net [2] $ (56) $ (48)  
[1] Includes unamortized net discount/premium on debt issuances and debt issuance costs.
[2] Includes unamortized net discount/premium on debt issuances and debt issuance costs.