Quarterly report pursuant to Section 13 or 15(d)

Income taxes (Details)

v3.6.0.2
Income taxes (Details)
3 Months Ended 6 Months Ended
Jan. 31, 2017
Jan. 31, 2016
Jan. 31, 2017
Jan. 31, 2016
Income Tax Disclosure [Abstract]        
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent 5.30% 2.90% 3.00% 2.50%
Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Percent     34.00%