Skip to content

Commit

Permalink
Merge pull request #113 from etherchina/riversyang
Browse files Browse the repository at this point in the history
Fix format error and add community link.
  • Loading branch information
riversyang authored Aug 19, 2018
2 parents 2683096 + 38e5249 commit 6aaf299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contracts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Solidity 合约类似于面向对象语言中的类。合约中有用于数据
函数和状态变量有四种可见性类型。
函数可以指定为 ``external`` ,``public`` ,``internal`` 或者 ``private``,默认情况下函数类型为 ``public``。
对于状态变量,不能设置为 ``external`` ,默认是 ``internal`` 。

``external`` :
外部函数作为合约接口的一部分,意味着我们可以从其他合约和交易中调用。
一个外部函数 ``f`` 不能从内部调用(即 ``f`` 不起作用,但 ``this.f()`` 可以)。
Expand Down
2 changes: 1 addition & 1 deletion index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Solidity 是静态类型语言,支持继承、库和复杂的用户定义类

本文档由社区志愿者翻译成多种语言,但是 `英语版本 <https://github.com/ethereum/solidity/blob/develop/docs/index.rst>`_ 作为主要参考。

* `简体中文版 <https://solidity-cn.readthedocs.io/>`_
* `简体中文版 <https://solidity-cn.readthedocs.io/>`_ (由 `HiBlock Community <http://hiblock.one/>`_ 贡献者翻译)
* `西班牙语版 <https://solidity-es.readthedocs.io>`_
* `俄语版 <https://github.com/ethereum/wiki/wiki/%5BRussian%5D-%D0%A0%D1%83%D0%BA%D0%BE%D0%B2%D0%BE%D0%B4%D1%81%D1%82%D0%B2%D0%BE-%D0%BF%D0%BE-Solidity>`_ (已过时)
* `韩语版 <http://solidity-kr.readthedocs.io>`_ (in progress)
Expand Down

0 comments on commit 6aaf299

Please sign in to comment.