This clause of the statute includes contracts to purchase realty as well as contracts to sell it.1 It makes no difference as to the application of the statute which party to the contract is attempting to enforce it.