Full text
if the trust is not otherwise taxable under paragraph (a) on its taxable income for the year and, at any time in the year, it carries on one or more businesses or holds one or more properties that are not qualified investments for the trust, tax is payable under this Part by the trust on the amount that its taxable income for the year would be if it had no incomes or losses from sources other than those businesses and properties, and no capital gains or losses other than from dispositions of those properties, and for this purpose,