From ee0cb71959d734f9f2191192e49415af05996614 Mon Sep 17 00:00:00 2001 From: Guy Lando Date: Mon, 20 May 2019 18:30:47 +0300 Subject: [PATCH] Clarified inheritance documentation. --- docs/contracts/inheritance.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/contracts/inheritance.rst b/docs/contracts/inheritance.rst index 0474a2b5c..3031430ae 100644 --- a/docs/contracts/inheritance.rst +++ b/docs/contracts/inheritance.rst @@ -12,7 +12,9 @@ is called, except when the contract name is explicitly given or the When a contract inherits from other contracts, only a single contract is created on the blockchain, and the code from all the base contracts -is compiled into the created contract. +is compiled into the created contract. This means that all internal calls +to functions of base contracts also just use internal function calls +(``super.f(..)`` will use JUMP and not a message call). The general inheritance system is very similar to `Python's `_,