XML 40 R29.htm IDEA: XBRL DOCUMENT v3.7.0.1
Net Income per Common Share - Additional Informations (Detail) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Class A nonvoting common stock        
Earnings Per Share [Line Items]        
Common stock of Class A shares excluded from computations of diluted net income per share 578 2,480 706 3,525