Fair Value of TSR Performance-Based Awards Valuation Assumption (Parenthetical) (Detail)
3 Months Ended 9 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Restricted Stock Units (RSUs)        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Expected annual dividend yield [1] 0.00% 0.00% 0.00% 0.00%
[1] Dividends are considered reinvested when calculating TSR. The dividend yield is therefore considered to be 0%.