(a) Pro rata share For purposes of this subchapter- (1) In general Except as provided in paragraph (2), each shareholder's pro rata share of any item for any taxable year shall be the sum of the amounts determined with respect to the shareholder- (A) by assigning an equal portion of such item to each day of the taxable year, and (B) then by dividing that portion pro rata among the shares outstanding on such day. (2) Election to terminate year (A) In general Under regulations prescribed by the Secretary