From c5b82f7d50d2f6040eea3dd71ebe4d759b9703e6 Mon Sep 17 00:00:00 2001 From: James Ray Date: Fri, 28 Jul 2017 15:24:19 +1000 Subject: Constructor index For referencing, especially when it hasn't been mentioned but not discussed in detail previously e.g. here and here. --- docs/contracts.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index 4c3d4059..4e33c5f3 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -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 -- cgit