From 3ae326139a505bed877d5b9ac9b4b3ed84496c3d Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Fri, 9 Mar 2018 14:25:57 +0100 Subject: Document absence of constructors. --- docs/contracts.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/contracts.rst b/docs/contracts.rst index e3f5bbac..9ae80209 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -977,7 +977,9 @@ virtual method lookup. Constructors ============ A constructor is an optional function declared with the ``constructor`` keyword which is executed upon contract creation. -Constructor functions can be either ``public`` or ``internal``. +Constructor functions can be either ``public`` or ``internal``. If there is no constructor, the contract will assume the +default constructor: ``contructor() public {}``. + :: -- cgit v1.2.3