@@ -666,6 +666,10 @@ msgid ""
666666"and supported by most widely used libraries. Python 2.x :pep:`is not "
667667"maintained anymore <373>`."
668668msgstr ""
669+ "最新の安定版は `Python ダウンロードページ<https://www.python.org/downloads/"
670+ ">`_ で見つけられます。 Python 3.x が推奨されるバージョンで、最も広く利用され"
671+ "ているライブラリでサポートされています。 Python 2.x :pep:`は もはや保守されて"
672+ "いません<373>` 。"
669673
670674#: ../../faq/general.rst:317
671675msgid "How many people are using Python?"
@@ -891,6 +895,30 @@ msgid ""
891895">>> L\n"
892896"[1]"
893897msgstr ""
898+ ">>> L = []\n"
899+ ">>> dir(L)\n"
900+ "['__add__', '__class__', '__contains__', '__delattr__', '__delitem__',\n"
901+ "'__dir__', '__doc__', '__eq__', '__format__', '__ge__',\n"
902+ "'__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__',\n"
903+ "'__imul__', '__init__', '__iter__', '__le__', '__len__', '__lt__',\n"
904+ "'__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__',\n"
905+ "'__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__',\n"
906+ "'__sizeof__', '__str__', '__subclasshook__', 'append', 'clear',\n"
907+ "'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove',\n"
908+ "'reverse', 'sort']\n"
909+ ">>> [d for d in dir(L) if '__' not in d]\n"
910+ "['append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', "
911+ "'remove', 'reverse', 'sort']\n"
912+ "\n"
913+ ">>> help(L.append)\n"
914+ "Help on built-in function append:\n"
915+ "\n"
916+ "append(...)\n"
917+ " L.append(object) -> None -- append object to end\n"
918+ "\n"
919+ ">>> L.append(1)\n"
920+ ">>> L\n"
921+ "[1]"
894922
895923#: ../../faq/general.rst:435
896924msgid ""
0 commit comments