| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7cf4844 commit 5bf6e9e
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-10-01 19:07+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-09 19:08+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -77,7 +77,7 @@ msgstr "" | |||
| 77 | 77 | msgid "You probably do not want to use this function." | |
| 78 | 78 | msgstr "おそらく、あなたはこの関数を使いたくないでしょう。" | |
| 79 | 79 | ||
| 80 | - #: ../../c-api/slice.rst:44 ../../c-api/slice.rst:75 | ||
| 80 | + #: ../../c-api/slice.rst:44 ../../c-api/slice.rst:76 | ||
| 81 | 81 | msgid "" | |
| 82 | 82 | "The parameter type for the *slice* parameter was ``PySliceObject*`` before." | |
| 83 | 83 | msgstr "以前は、*slice* 引数の型は ``PySliceObject*`` でした。" | |
@@ -88,45 +88,41 @@ msgid "" | |||
| 88 | 88 | "stop, and step indices from the slice object *slice* assuming a sequence of " | |
| 89 | 89 | "length *length*, and store the length of the slice in *slicelength*. Out of " | |
| 90 | 90 | "bounds indices are clipped in a manner consistent with the handling of " | |
| 91 | - "normal slices." | ||
| 91 | + "normal slices. *length* must not be negative." | ||
| 92 | 92 | msgstr "" | |
| 93 | - ":c:func:`PySlice_GetIndices` の便利な代替です。 *slice* における、*start*, " | ||
| 94 | - "*stop* および *step* のインデクス値を取得をします。シーケンスの長さを " | ||
| 95 | - "*length* 、スライスの長さを *slicelength* に格納します。境界外のインデクスは" | ||
| 96 | - "通常のスライスと一貫した方法でクリップされます。" | ||
| 97 | 93 | ||
| 98 | - #: ../../c-api/slice.rst:57 | ||
| 94 | + #: ../../c-api/slice.rst:58 | ||
| 99 | 95 | msgid "Return ``0`` on success and ``-1`` on error with an exception set." | |
| 100 | 96 | msgstr "" | |
| 101 | 97 | ||
| 102 | - #: ../../c-api/slice.rst:60 | ||
| 98 | + #: ../../c-api/slice.rst:61 | ||
| 103 | 99 | msgid "" | |
| 104 | 100 | "This function is considered not safe for resizable sequences. Its invocation " | |
| 105 | 101 | "should be replaced by a combination of :c:func:`PySlice_Unpack` and :c:func:" | |
| 106 | 102 | "`PySlice_AdjustIndices` where ::" | |
| 107 | 103 | msgstr "" | |
| 108 | 104 | ||
| 109 | - #: ../../c-api/slice.rst:64 | ||
| 105 | + #: ../../c-api/slice.rst:65 | ||
| 110 | 106 | msgid "" | |
| 111 | 107 | "if (PySlice_GetIndicesEx(slice, length, &start, &stop, &step, &slicelength) " | |
| 112 | 108 | "< 0) {\n" | |
| 113 | 109 | " // return error\n" | |
| 114 | 110 | "}" | |
| 115 | 111 | msgstr "" | |
| 116 | 112 | ||
| 117 | - #: ../../c-api/slice.rst:68 | ||
| 113 | + #: ../../c-api/slice.rst:69 | ||
| 118 | 114 | msgid "is replaced by ::" | |
| 119 | 115 | msgstr "" | |
| 120 | 116 | ||
| 121 | - #: ../../c-api/slice.rst:70 | ||
| 117 | + #: ../../c-api/slice.rst:71 | ||
| 122 | 118 | msgid "" | |
| 123 | 119 | "if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {\n" | |
| 124 | 120 | " // return error\n" | |
| 125 | 121 | "}\n" | |
| 126 | 122 | "slicelength = PySlice_AdjustIndices(length, &start, &stop, step);" | |
| 127 | 123 | msgstr "" | |
| 128 | 124 | ||
| 129 | - #: ../../c-api/slice.rst:79 | ||
| 125 | + #: ../../c-api/slice.rst:80 | ||
| 130 | 126 | msgid "" | |
| 131 | 127 | "If ``Py_LIMITED_API`` is not set or set to the value between ``0x03050400`` " | |
| 132 | 128 | "and ``0x03060000`` (not including) or ``0x03060100`` or higher :c:func:`!" | |
@@ -135,14 +131,14 @@ msgid "" | |||
| 135 | 131 | "*stop* and *step* are evaluated more than once." | |
| 136 | 132 | msgstr "" | |
| 137 | 133 | ||
| 138 | - #: ../../c-api/slice.rst:86 | ||
| 134 | + #: ../../c-api/slice.rst:87 | ||
| 139 | 135 | msgid "" | |
| 140 | 136 | "If ``Py_LIMITED_API`` is set to the value less than ``0x03050400`` or " | |
| 141 | 137 | "between ``0x03060000`` and ``0x03060100`` (not including) :c:func:`!" | |
| 142 | 138 | "PySlice_GetIndicesEx` is a deprecated function." | |
| 143 | 139 | msgstr "" | |
| 144 | 140 | ||
| 145 | - #: ../../c-api/slice.rst:94 | ||
| 141 | + #: ../../c-api/slice.rst:95 | ||
| 146 | 142 | msgid "" | |
| 147 | 143 | "Extract the start, stop and step data members from a slice object as C " | |
| 148 | 144 | "integers. Silently reduce values larger than ``PY_SSIZE_T_MAX`` to " | |
@@ -151,34 +147,40 @@ msgid "" | |||
| 151 | 147 | "less than ``-PY_SSIZE_T_MAX`` to ``-PY_SSIZE_T_MAX``." | |
| 152 | 148 | msgstr "" | |
| 153 | 149 | ||
| 154 | - #: ../../c-api/slice.rst:100 | ||
| 150 | + #: ../../c-api/slice.rst:101 | ||
| 155 | 151 | msgid "Return ``-1`` with an exception set on error, ``0`` on success." | |
| 156 | 152 | msgstr "" | |
| 157 | 153 | ||
| 158 | - #: ../../c-api/slice.rst:107 | ||
| 154 | + #: ../../c-api/slice.rst:108 | ||
| 159 | 155 | msgid "" | |
| 160 | 156 | "Adjust start/end slice indices assuming a sequence of the specified length. " | |
| 161 | 157 | "Out of bounds indices are clipped in a manner consistent with the handling " | |
| 162 | 158 | "of normal slices." | |
| 163 | 159 | msgstr "" | |
| 164 | 160 | ||
| 165 | - #: ../../c-api/slice.rst:111 | ||
| 161 | + #: ../../c-api/slice.rst:112 | ||
| 162 | + msgid "" | ||
| 163 | + "*length* must not be negative. *step* must not be zero and must not be less " | ||
| 164 | + "than ``-PY_SSIZE_T_MAX``, as guaranteed by :c:func:`PySlice_Unpack`." | ||
| 165 | + msgstr "" | ||
| 166 | + | ||
| 167 | + #: ../../c-api/slice.rst:116 | ||
| 166 | 168 | msgid "" | |
| 167 | 169 | "Return the length of the slice. Always successful. Doesn't call Python " | |
| 168 | 170 | "code." | |
| 169 | 171 | msgstr "" | |
| 170 | 172 | ||
| 171 | - #: ../../c-api/slice.rst:118 | ||
| 173 | + #: ../../c-api/slice.rst:123 | ||
| 172 | 174 | msgid "Ellipsis Object" | |
| 173 | 175 | msgstr "Ellipsis オブジェクト" | |
| 174 | 176 | ||
| 175 | - #: ../../c-api/slice.rst:123 | ||
| 177 | + #: ../../c-api/slice.rst:128 | ||
| 176 | 178 | msgid "" | |
| 177 | 179 | "The type of Python :const:`Ellipsis` object. Same as :class:`types." | |
| 178 | 180 | "EllipsisType` in the Python layer." | |
| 179 | 181 | msgstr "" | |
| 180 | 182 | ||
| 181 | - #: ../../c-api/slice.rst:129 | ||
| 183 | + #: ../../c-api/slice.rst:134 | ||
| 182 | 184 | msgid "" | |
| 183 | 185 | "The Python ``Ellipsis`` object. This object has no methods. Like :c:data:" | |
| 184 | 186 | "`Py_None`, it is an :term:`immortal` singleton object." | |
@@ -187,6 +189,6 @@ msgstr "" | |||
| 187 | 189 | "ん。 :c:data:`Py_None` と同様、これは :term:`immortal` でシングルトンなオブ" | |
| 188 | 190 | "ジェクトです。" | |
| 189 | 191 | ||
| 190 | - #: ../../c-api/slice.rst:132 | ||
| 192 | + #: ../../c-api/slice.rst:137 | ||
| 191 | 193 | msgid ":c:data:`Py_Ellipsis` is immortal." | |
| 192 | 194 | msgstr ":c:data:`Py_Ellipsis` は immortal です。" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-19 16:52+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-09 19:08+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-10-01 19:07+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-09 19:08+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2026\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -387,7 +387,7 @@ msgstr "プロセスの制御端末に対応するファイル名を返します | |||
| 387 | 387 | #: ../../library/os.rst:4471 ../../library/os.rst:4480 | |
| 388 | 388 | #: ../../library/os.rst:4489 ../../library/os.rst:4497 | |
| 389 | 389 | #: ../../library/os.rst:4506 ../../library/os.rst:4515 | |
| 390 | - #: ../../library/os.rst:4587 ../../library/os.rst:4650 | ||
| 390 | + #: ../../library/os.rst:4588 ../../library/os.rst:4650 | ||
| 391 | 391 | #: ../../library/os.rst:4660 ../../library/os.rst:4678 | |
| 392 | 392 | #: ../../library/os.rst:4687 ../../library/os.rst:4697 | |
| 393 | 393 | #: ../../library/os.rst:4707 ../../library/os.rst:4717 | |
@@ -5647,9 +5647,9 @@ msgstr "" | |||
| 5647 | 5647 | #: ../../library/os.rst:4555 | |
| 5648 | 5648 | msgid "" | |
| 5649 | 5649 | "If *clockid* is :const:`time.CLOCK_REALTIME`, a settable system-wide real-" | |
| 5650 | - "time clock is used. If system clock is changed, timer setting need to be " | ||
| 5651 | - "updated. To cancel timer when system clock is changed, see :const:" | ||
| 5652 | - "`TFD_TIMER_CANCEL_ON_SET`." | ||
| 5650 | + "time clock is used. If the system clock is changed, the timer setting needs " | ||
| 5651 | + "to be updated. To cancel the timer when the system clock is changed, see :" | ||
| 5652 | + "const:`TFD_TIMER_CANCEL_ON_SET`." | ||
| 5653 | 5653 | msgstr "" | |
| 5654 | 5654 | ||
| 5655 | 5655 | #: ../../library/os.rst:4560 | |
@@ -5661,84 +5661,82 @@ msgstr "" | |||
| 5661 | 5661 | ||
| 5662 | 5662 | #: ../../library/os.rst:4564 | |
| 5663 | 5663 | msgid "" | |
| 5664 | - "If *clockid* is :const:`time.CLOCK_BOOTTIME`, same as :const:`time." | ||
| 5664 | + "If *clockid* is :const:`time.CLOCK_BOOTTIME`, it is the same as :const:`time." | ||
| 5665 | 5665 | "CLOCK_MONOTONIC` except it includes any time that the system is suspended." | |
| 5666 | 5666 | msgstr "" | |
| 5667 | 5667 | ||
| 5668 | - #: ../../library/os.rst:4567 | ||
| 5668 | + #: ../../library/os.rst:4568 | ||
| 5669 | 5669 | msgid "" | |
| 5670 | 5670 | "The file descriptor's behaviour can be modified by specifying a *flags* " | |
| 5671 | 5671 | "value. Any of the following variables may be used, combined using bitwise OR " | |
| 5672 | 5672 | "(the ``|`` operator):" | |
| 5673 | 5673 | msgstr "" | |
| 5674 | 5674 | ||
| 5675 | - #: ../../library/os.rst:4571 | ||
| 5675 | + #: ../../library/os.rst:4572 | ||
| 5676 | 5676 | msgid ":const:`TFD_NONBLOCK`" | |
| 5677 | 5677 | msgstr "" | |
| 5678 | 5678 | ||
| 5679 | - #: ../../library/os.rst:4572 | ||
| 5679 | + #: ../../library/os.rst:4573 | ||
| 5680 | 5680 | msgid ":const:`TFD_CLOEXEC`" | |
| 5681 | 5681 | msgstr "" | |
| 5682 | 5682 | ||
| 5683 | - #: ../../library/os.rst:4574 | ||
| 5683 | + #: ../../library/os.rst:4575 | ||
| 5684 | 5684 | msgid "" | |
| 5685 | 5685 | "If :const:`TFD_NONBLOCK` is not set as a flag, :func:`read` blocks until the " | |
| 5686 | - "timer expires. If it is set as a flag, :func:`read` doesn't block, but If " | ||
| 5686 | + "timer expires. If it is set as a flag, :func:`read` doesn't block, but if " | ||
| 5687 | 5687 | "there hasn't been an expiration since the last call to read, :func:`read` " | |
| 5688 | - "raises :class:`OSError` with ``errno`` is set to :const:`errno.EAGAIN`." | ||
| 5688 | + "raises :class:`OSError` with ``errno`` set to :const:`errno.EAGAIN`." | ||
| 5689 | 5689 | msgstr "" | |
| 5690 | 5690 | ||
| 5691 | - #: ../../library/os.rst:4580 | ||
| 5691 | + #: ../../library/os.rst:4581 | ||
| 5692 | 5692 | msgid ":const:`TFD_CLOEXEC` is always set by Python automatically." | |
| 5693 | 5693 | msgstr "" | |
| 5694 | 5694 | ||
| 5695 | - #: ../../library/os.rst:4582 | ||
| 5695 | + #: ../../library/os.rst:4583 | ||
| 5696 | 5696 | msgid "" | |
| 5697 | 5697 | "The file descriptor must be closed with :func:`os.close` when it is no " | |
| 5698 | 5698 | "longer needed, or else the file descriptor will be leaked." | |
| 5699 | 5699 | msgstr "" | |
| 5700 | 5700 | ||
| 5701 | - #: ../../library/os.rst:4585 | ||
| 5701 | + #: ../../library/os.rst:4586 | ||
| 5702 | 5702 | msgid "The :manpage:`timerfd_create(2)` man page." | |
| 5703 | 5703 | msgstr "" | |
| 5704 | 5704 | ||
| 5705 | - #: ../../library/os.rst:4594 | ||
| 5705 | + #: ../../library/os.rst:4595 | ||
| 5706 | 5706 | msgid "" | |
| 5707 | 5707 | "Alter a timer file descriptor's internal timer. This function operates the " | |
| 5708 | 5708 | "same interval timer as :func:`timerfd_settime_ns`." | |
| 5709 | 5709 | msgstr "" | |
| 5710 | 5710 | ||
| 5711 | - #: ../../library/os.rst:4597 | ||
| 5711 | + #: ../../library/os.rst:4598 | ||
| 5712 | 5712 | msgid "*fd* must be a valid timer file descriptor." | |
| 5713 | 5713 | msgstr "" | |
| 5714 | 5714 | ||
| 5715 | - #: ../../library/os.rst:4599 | ||
| 5715 | + #: ../../library/os.rst:4600 | ||
| 5716 | 5716 | msgid "" | |
| 5717 | 5717 | "The timer's behaviour can be modified by specifying a *flags* value. Any of " | |
| 5718 | 5718 | "the following variables may be used, combined using bitwise OR (the ``|`` " | |
| 5719 | 5719 | "operator):" | |
| 5720 | 5720 | msgstr "" | |
| 5721 | 5721 | ||
| 5722 | - #: ../../library/os.rst:4603 | ||
| 5722 | + #: ../../library/os.rst:4604 | ||
| 5723 | 5723 | msgid ":const:`TFD_TIMER_ABSTIME`" | |
| 5724 | 5724 | msgstr "" | |
| 5725 | 5725 | ||
| 5726 | - #: ../../library/os.rst:4604 | ||
| 5726 | + #: ../../library/os.rst:4605 | ||
| 5727 | 5727 | msgid ":const:`TFD_TIMER_CANCEL_ON_SET`" | |
| 5728 | 5728 | msgstr "" | |
| 5729 | 5729 | ||
| 5730 | - #: ../../library/os.rst:4606 | ||
| 5730 | + #: ../../library/os.rst:4607 | ||
| 5731 | 5731 | msgid "" | |
| 5732 | 5732 | "The timer is disabled by setting *initial* to zero (``0``). If *initial* is " | |
| 5733 | - "equal to or greater than zero, the timer is enabled. If *initial* is less " | ||
| 5734 | - "than zero, it raises an :class:`OSError` exception with ``errno`` set to :" | ||
| 5735 | - "const:`errno.EINVAL`" | ||
| 5733 | + "greater than zero, the timer is enabled. If *initial* is less than zero, it " | ||
| 5734 | + "raises an :class:`OSError` exception with ``errno`` set to :const:`errno." | ||
| 5735 | + "EINVAL`." | ||
| 5736 | 5736 | msgstr "" | |
| 5737 | 5737 | ||
| 5738 | - #: ../../library/os.rst:4611 | ||
| 5739 | - msgid "" | ||
| 5740 | - "By default the timer will fire when *initial* seconds have elapsed. (If " | ||
| 5741 | - "*initial* is zero, timer will fire immediately.)" | ||
| 5738 | + #: ../../library/os.rst:4612 | ||
| 5739 | + msgid "By default the timer will fire when *initial* seconds have elapsed." | ||
| 5742 | 5740 | msgstr "" | |
| 5743 | 5741 | ||
| 5744 | 5742 | #: ../../library/os.rst:4614 | |
@@ -5754,16 +5752,16 @@ msgid "" | |||
| 5754 | 5752 | "zero, the timer only fires once, on the initial expiration. If *interval* is " | |
| 5755 | 5753 | "greater than zero, the timer fires every time *interval* seconds have " | |
| 5756 | 5754 | "elapsed since the previous expiration. If *interval* is less than zero, it " | |
| 5757 | - "raises :class:`OSError` with ``errno`` set to :const:`errno.EINVAL`" | ||
| 5755 | + "raises :class:`OSError` with ``errno`` set to :const:`errno.EINVAL`." | ||
| 5758 | 5756 | msgstr "" | |
| 5759 | 5757 | ||
| 5760 | 5758 | #: ../../library/os.rst:4625 | |
| 5761 | 5759 | msgid "" | |
| 5762 | 5760 | "If the :const:`TFD_TIMER_CANCEL_ON_SET` flag is set along with :const:" | |
| 5763 | 5761 | "`TFD_TIMER_ABSTIME` and the clock for this timer is :const:`time." | |
| 5764 | 5762 | "CLOCK_REALTIME`, the timer is marked as cancelable if the real-time clock is " | |
| 5765 | - "changed discontinuously. Reading the descriptor is aborted with the error " | ||
| 5766 | - "ECANCELED." | ||
| 5763 | + "changed discontinuously. Reading the descriptor is aborted with the error :" | ||
| 5764 | + "const:`errno.ECANCELED`." | ||
| 5767 | 5765 | msgstr "" | |
| 5768 | 5766 | ||
| 5769 | 5767 | #: ../../library/os.rst:4631 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments