Here are a bunch of paragraphs of mindless knowledge from Cornell Law if you want it:
(a) Distributions other than in liquidation of a partner’s interest
(1) General rule
The basis of property (other than money) distributed by a partnership to a partner other than in liquidation of the partner’s interest shall, except as provided in paragraph (2), be its adjusted basis to the partnership immediately before such distribution.
(2) Limitation
The basis to the distributee partner of property to which paragraph (1) is applicable shall not exceed the adjusted basis of such partner’s interest in the partnership reduced by any money distributed in the same transaction.
(b) Distributions in liquidation
The basis of property (other than money) distributed by a partnership to a partner in liquidation of the partner’s interest shall be an amount equal to the adjusted basis of such partner’s interest in the partnership reduced by any money distributed in the same transaction.
FAR- 81
REG- 81
BEC- Aug 22, 2016
AUD- TBD