Merge pull request #5123 from ethereum/docs-contracts-fixes

Fix issues introduced from PR #5043
This commit is contained in:
Alex Beregszaszi 2018-09-30 16:01:56 +01:00 committed by GitHub
commit 8ef47cb61a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1131,7 +1131,7 @@ Multiple Inheritance and Linearization
Languages that allow multiple inheritance have to deal with Languages that allow multiple inheritance have to deal with
several problems. One is the `Diamond Problem <https://en.wikipedia.org/wiki/Multiple_inheritance#The_diamond_problem>`_. several problems. One is the `Diamond Problem <https://en.wikipedia.org/wiki/Multiple_inheritance#The_diamond_problem>`_.
Solidity is similar to Python in that it uses "`C3 Linearization <https://en.wikipedia.org/wiki/C3_linearization>`_" Solidity is similar to Python in that it uses "`C3 Linearization <https://en.wikipedia.org/wiki/C3_linearization>`_"
to force a specific order in the directed acyclic graph of base classes. This to force a specific order in the directed acyclic graph (DAG) of base classes. This
results in the desirable property of monotonicity but results in the desirable property of monotonicity but
disallows some inheritance graphs. Especially, the order in disallows some inheritance graphs. Especially, the order in
which the base classes are given in the ``is`` directive is which the base classes are given in the ``is`` directive is