For purposes of this section and, sections
731,
732, and
741 (but not for purposes of section
736), such term also includes mining property (as defined in section
617
(f)(2)), stock in a DISC (as described in section
992
(a)), section
1245 property (as defined in section
1245
(a)(3)), stock in certain foreign corporations (as described in section
1248), section
1250 property (as defined in section
1250
(c)), farm land (as defined in section
1252
(a)), franchises, trademarks, or trade names (referred to in section
1253
(a)), and an oil, gas, or geothermal property (described in section
1254) but only to the extent of the amount which would be treated as gain to which section
617
(d)(1),
995
(c),
1245
(a),
1248
(a),
1250
(a),
1252
(a),
1253
(a), or
1254
(a) would apply if (at the time of the transaction described in this section or section
731,
732, or
741, as the case may be) such property had been sold by the partnership at its fair market value. For purposes of this section and, sections
731,
732, and
741 (but not for purposes of section
736), such term also includes any market discount bond (as defined in section
1278) and any short-term obligation (as defined in section
1283) but only to the extent of the amount which would be treated as ordinary income if (at the time of the transaction described in this section or section
731,
732, or
741, as the case may be) such property had been sold by the partnership.