From 910fa3cd7c04347273929283d8944640285c0f17 Mon Sep 17 00:00:00 2001 From: Nicolás Venturo Date: Thu, 12 Jul 2018 15:25:42 -0300 Subject: Removed repeated documentation There is already a paragraph below describing how to call functions in both their internal and external forms (and IMO it's clearer). --- docs/types.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/types.rst b/docs/types.rst index 217a2273..16445a34 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -386,10 +386,6 @@ By default, function types are internal, so the ``internal`` keyword can be omitted. In contrast, contract functions themselves are public by default, only when used as the name of a type, the default is internal. -There are two ways to access a function in the current contract: Either directly -by its name, ``f``, or using ``this.f``. The former will result in an internal -function, the latter in an external function. - If a function type variable is not initialized, calling it will result in an exception. The same happens if you call a function after using ``delete`` on it. -- cgit