Constructor index

For referencing, especially when it hasn't been mentioned but not discussed in detail previously e.g. here and here.
This commit is contained in:
James Ray 2017-07-28 15:24:19 +10:00 committed by GitHub
parent 53f747b7de
commit c5b82f7d50

View File

@ -10,7 +10,7 @@ variables. Calling a function on a different contract (instance) will perform
an EVM function call and thus switch the context such that state variables are
inaccessible.
.. index:: ! contract;creation
.. index:: ! contract;creation, constructor
******************
Creating Contracts
@ -20,7 +20,7 @@ Contracts can be created "from outside" or from Solidity contracts.
When a contract is created, its constructor (a function with the same
name as the contract) is executed once.
A constructor is optional. Only one constructor is allowed, and this means
A ``constructor`` is optional. Only one constructor is allowed, and this means
overloading is not supported.
From ``web3.js``, i.e. the JavaScript