From ac03a08bec99b71955c5fa356793efe678de00cf Mon Sep 17 00:00:00 2001 From: uberlaufer Date: Thu, 10 Mar 2016 19:12:16 +0100 Subject: Update contracts.rst minor grammar and spelling corrections --- docs/contracts.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index 691da7fe..8a7b3cf2 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -4,11 +4,7 @@ Contracts ########## -Contracts in Solidity what classes are in object oriented languages. -They persistent data in state variables and functions that can modify these 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. +Contracts in Solidity are what classes are in object oriented languages. They contain persistent data in state variables and functions that can modify these 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 -- cgit From ec3800b28e0dac5a13710d32d8f8fca7a527c563 Mon Sep 17 00:00:00 2001 From: uberlaufer Date: Thu, 10 Mar 2016 20:53:13 +0100 Subject: shortened lines to 79 --- docs/contracts.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index 8a7b3cf2..fb9472a3 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -4,7 +4,11 @@ Contracts ########## -Contracts in Solidity are what classes are in object oriented languages. They contain persistent data in state variables and functions that can modify these 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. +Contracts in Solidity are what classes are in object oriented languages. They +contain persistent data in state variables and functions that can modify these +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 -- cgit From 770d509af6df4e6b932175b25400628830dc9049 Mon Sep 17 00:00:00 2001 From: uberlaufer Date: Thu, 10 Mar 2016 20:55:53 +0100 Subject: Update contracts.rst --- docs/contracts.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index fb9472a3..b2358af5 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -184,10 +184,9 @@ return parameter list for functions. uint public data; } -Other contracts can call `c.data()` to retrieve the value of -data in state storage, but are not able to call `f`. -Contracts derived from `c` can call `setData` to alter the -value of `data` (but only in their own state). +Other contracts can call `c.data()` to retrieve the value of data in state +storage, but are not able to call `f`. Contracts derived from `c` can call +`setData` to alter the value of `data` (but only in their own state). .. index:: ! accessor;function, ! function;accessor -- cgit