aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/contracts.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index df95883f..d6337d9a 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -1043,14 +1043,15 @@ Additional Resources for Understanding Events
Inheritance
***********
-Solidity supports multiple inheritance by copying code including polymorphism.
+Solidity supports multiple inheritance including polymorphism.
All function calls are virtual, which means that the most derived function
-is called, except when the contract name is explicitly given.
+is called, except when the contract name is explicitly given or the
+``super`` keyword is used.
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 copied into the created contract.
+is compiled into the created contract.
The general inheritance system is very similar to
`Python's <https://docs.python.org/3/tutorial/classes.html#inheritance>`_,