Share Repurchases (Narrative) (Details) - USD ($) shares in Thousands, $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 28, 2024 |
Apr. 30, 2023 |
Apr. 28, 2024 |
Apr. 30, 2023 |
|
| Statement [Line Items] | ||||
| Treasury stock purchased, shares | 1,080 | 2,692 | ||
| Treasury Stock Value Acquired Cost Method | $ 17 | $ 75 | $ 46 | $ 141 |
| June 2021 Program | ||||
| Statement [Line Items] | ||||
| Authorized amount for shares repurchase | 250 | 250 | ||
| Stock Repurchase Program, Remaining Authorized Repurchase Amount | 58 | 58 | ||
| September 2021 Program | ||||
| Statement [Line Items] | ||||
| Authorized amount for shares repurchase | 500 | 500 | ||
| Stock Repurchase Program, Remaining Authorized Repurchase Amount | $ 301 | $ 301 | ||