| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 92fb189 commit f1cdfd2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -666,6 +666,10 @@ msgid "" | |||
| 666 | 666 | "and supported by most widely used libraries. Python 2.x :pep:`is not " | |
| 667 | 667 | "maintained anymore <373>`." | |
| 668 | 668 | msgstr "" | |
| 669 | + "最新の安定版は `Python ダウンロードページ<https://www.python.org/downloads/" | ||
| 670 | + ">`_ で見つけられます。 Python 3.x が推奨されるバージョンで、最も広く利用され" | ||
| 671 | + "ているライブラリでサポートされています。 Python 2.x :pep:`は もはや保守されて" | ||
| 672 | + "いません<373>` 。" | ||
| 669 | 673 | ||
| 670 | 674 | #: ../../faq/general.rst:317 | |
| 671 | 675 | msgid "How many people are using Python?" | |
@@ -891,6 +895,30 @@ msgid "" | |||
| 891 | 895 | ">>> L\n" | |
| 892 | 896 | "[1]" | |
| 893 | 897 | msgstr "" | |
| 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]" | ||
| 894 | 922 | ||
| 895 | 923 | #: ../../faq/general.rst:435 | |
| 896 | 924 | msgid "" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments