1111# ChenYuan <[email protected] >, 20191212# Siyuan Xu <[email protected] >, 20191313# Meng Du <[email protected] >, 201914- # Freesand Leo <[email protected] >, 20191514# ppcfish <[email protected] >, 201915+ # Freesand Leo <[email protected] >, 20191616#
1717#, fuzzy
1818msgid ""
@@ -21,7 +21,7 @@ msgstr ""
2121"Report-Msgid-Bugs-To : \n "
2222"POT-Creation-Date : 2019-05-14 11:26+0900\n "
2323"PO-Revision-Date : 2017-02-16 17:43+0000\n "
24- "Last-Translator : ppcfish <ppcfish@gmail .com>, 2019\n "
24+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2019\n "
2525"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2626"MIME-Version : 1.0\n "
2727"Content-Type : text/plain; charset=UTF-8\n "
@@ -750,39 +750,41 @@ msgid ""
750750"argument name in the caller and callee, and so no call-by-reference per se."
751751" You can achieve the desired effect in a number of ways."
752752msgstr ""
753+ "请记住在 Python 中参数是通过赋值来传递的。 "
754+ "由于赋值只是创建了对象的引用,因此在调用者和被调用者的参数名称之间没有别名,所以本身是没有按引用调用的。 你可以通过多种方式实现所需的效果。"
753755
754756#: ../../faq/programming.rst:519
755757msgid "By returning a tuple of the results::"
756- msgstr ""
758+ msgstr "通过返回一个结果元组:: "
757759
758760#: ../../faq/programming.rst:530
759761msgid "This is almost always the clearest solution."
760- msgstr ""
762+ msgstr "这几乎总是最清晰明了的解决方案。 "
761763
762764#: ../../faq/programming.rst:532
763765msgid ""
764766"By using global variables. This isn't thread-safe, and is not recommended."
765- msgstr ""
767+ msgstr "通过使用全局变量。 这种方式不是线程安全的,而且也不受推荐。 "
766768
767769#: ../../faq/programming.rst:534
768770msgid "By passing a mutable (changeable in-place) object::"
769- msgstr ""
771+ msgstr "通过传递一个可变 (即可原地修改的) 对象:: "
770772
771773#: ../../faq/programming.rst:544
772774msgid "By passing in a dictionary that gets mutated::"
773- msgstr ""
775+ msgstr "通过传递一个会被改变的字典:: "
774776
775777#: ../../faq/programming.rst:554
776778msgid "Or bundle up values in a class instance::"
777- msgstr ""
779+ msgstr "或者在一个类实例中捆绑值:: "
778780
779781#: ../../faq/programming.rst:570
780782msgid "There's almost never a good reason to get this complicated."
781- msgstr ""
783+ msgstr "几乎没有任何适当理由将问题如此复杂化。 "
782784
783785#: ../../faq/programming.rst:572
784786msgid "Your best choice is to return a tuple containing the multiple results."
785- msgstr ""
787+ msgstr "你的最佳选择是返回一个包含多个结果的元组。 "
786788
787789#: ../../faq/programming.rst:576
788790msgid "How do you make a higher order function in Python?"
0 commit comments