The adjusted basis of a partner’s interest in a partnership shall be increased by the amount of any gain recognized by such partner under subsection (a). For purposes of determining the basis of the distributed property (other than money), such increase shall be treated as occurring immediately before the distribution.
If any portion of the property distributed consists of property which had been contributed by the distributee partner to the partnership, such property shall not be taken into account under subsection (a)(1) and shall not be taken into account in determining the amount of the net precontribution gain. If the property distributed consists of an interest in an entity, the preceding sentence shall not apply to the extent that the value of such interest is attributable to property contributed to such entity after such interest had been contributed to the partnership.
This section shall not apply to the extent section 751(b) applies to such distribution.
For treatment of marketable securities as money for purposes of this section, see section 731(c).