Skip to content

Commit 530d050

Browse files
Deploy preview for PR 1148 🛫
1 parent 7f06677 commit 530d050

File tree

570 files changed

+585
-582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

570 files changed

+585
-582
lines changed

pr-preview/pr-1148/_sources/library/mmap.rst.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
200200
Writable :term:`bytes-like object` is now accepted.
201201

202202

203-
.. method:: flush([offset[, size]])
203+
.. method:: flush()
204+
flush(offset, size, /)
204205

205206
Flushes changes made to the in-memory copy of a file back to disk. Without
206207
use of this call there is no guarantee that changes are written back before

pr-preview/pr-1148/_sources/library/os.rst.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,8 +2009,8 @@ features:
20092009
must be a string specifying a file path. However, some functions now
20102010
alternatively accept an open file descriptor for their *path* argument.
20112011
The function will then operate on the file referred to by the descriptor.
2012-
(For POSIX systems, Python will call the variant of the function prefixed
2013-
with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).)
2012+
For POSIX systems, Python will call the variant of the function prefixed
2013+
with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).
20142014

20152015
You can check whether or not *path* can be specified as a file descriptor
20162016
for a particular function on your platform using :data:`os.supports_fd`.
@@ -2025,7 +2025,7 @@ features:
20252025
* **paths relative to directory descriptors:** If *dir_fd* is not ``None``, it
20262026
should be a file descriptor referring to a directory, and the path to operate
20272027
on should be relative; path will then be relative to that directory. If the
2028-
path is absolute, *dir_fd* is ignored. (For POSIX systems, Python will call
2028+
path is absolute, *dir_fd* is ignored. For POSIX systems, Python will call
20292029
the variant of the function with an ``at`` suffix and possibly prefixed with
20302030
``f`` (e.g. call ``faccessat`` instead of ``access``).
20312031

@@ -2038,8 +2038,8 @@ features:
20382038
* **not following symlinks:** If *follow_symlinks* is
20392039
``False``, and the last element of the path to operate on is a symbolic link,
20402040
the function will operate on the symbolic link itself rather than the file
2041-
pointed to by the link. (For POSIX systems, Python will call the ``l...``
2042-
variant of the function.)
2041+
pointed to by the link. For POSIX systems, Python will call the ``l...``
2042+
variant of the function.
20432043

20442044
You can check whether or not *follow_symlinks* is supported for a particular
20452045
function on your platform using :data:`os.supports_follow_symlinks`.

pr-preview/pr-1148/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ <h3>導航</h3>
314314
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
315315
<br>
316316
<br>
317-
最後更新於 9月 19, 2025 (00:20 UTC)。
317+
最後更新於 9月 22, 2025 (00:24 UTC)。
318318

319319
<a href="/bugs.html">發現 bug</a>
320320

pr-preview/pr-1148/bugs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ <h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title=
230230
</section>
231231
<section id="getting-started-contributing-to-python-yourself">
232232
<span id="contributing-to-python"></span><h2>開始讓自己貢獻 Python<a class="headerlink" href="#getting-started-contributing-to-python-yourself" title="連結到這個標頭"></a></h2>
233-
<p>除了只是回報你所發現的錯誤之外,同樣也歡迎你提交修正它們的修補程式 (patch)。你可以在 <a class="reference external" href="https://devguide.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果你有任何問題,<a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">核心導師郵寄清單</a>是一個友善的地方,你可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
233+
<p>除了只是回報你所發現的錯誤之外,同樣也歡迎你提交修正它們的修補程式 (patch)。你可以在 <a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果你有任何問題,<a class="reference external" href="https://devguide.python.org/">核心導師郵寄清單</a>是一個友善的地方,你可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
234234
</section>
235235
</section>
236236

@@ -352,7 +352,7 @@ <h3>導航</h3>
352352
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
353353
<br>
354354
<br>
355-
最後更新於 9月 19, 2025 (00:20 UTC)。
355+
最後更新於 9月 22, 2025 (00:24 UTC)。
356356

357357
<a href="/bugs.html">發現 bug</a>
358358

pr-preview/pr-1148/c-api/abstract.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ <h3>導航</h3>
323323
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
324324
<br>
325325
<br>
326-
最後更新於 9月 19, 2025 (00:20 UTC)。
326+
最後更新於 9月 22, 2025 (00:24 UTC)。
327327

328328
<a href="/bugs.html">發現 bug</a>
329329

pr-preview/pr-1148/c-api/allocation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ <h3>導航</h3>
432432
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
433433
<br>
434434
<br>
435-
最後更新於 9月 19, 2025 (00:20 UTC)。
435+
最後更新於 9月 22, 2025 (00:24 UTC)。
436436

437437
<a href="/bugs.html">發現 bug</a>
438438

pr-preview/pr-1148/c-api/apiabiversion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ <h3>導航</h3>
471471
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
472472
<br>
473473
<br>
474-
最後更新於 9月 19, 2025 (00:20 UTC)。
474+
最後更新於 9月 22, 2025 (00:24 UTC)。
475475

476476
<a href="/bugs.html">發現 bug</a>
477477

pr-preview/pr-1148/c-api/arg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ <h3>導航</h3>
954954
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
955955
<br>
956956
<br>
957-
最後更新於 9月 19, 2025 (00:20 UTC)。
957+
最後更新於 9月 22, 2025 (00:24 UTC)。
958958

959959
<a href="/bugs.html">發現 bug</a>
960960

pr-preview/pr-1148/c-api/bool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ <h3>導航</h3>
334334
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
335335
<br>
336336
<br>
337-
最後更新於 9月 19, 2025 (00:20 UTC)。
337+
最後更新於 9月 22, 2025 (00:24 UTC)。
338338

339339
<a href="/bugs.html">發現 bug</a>
340340

pr-preview/pr-1148/c-api/buffer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ <h3>導航</h3>
10161016
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
10171017
<br>
10181018
<br>
1019-
最後更新於 9月 19, 2025 (00:20 UTC)。
1019+
最後更新於 9月 22, 2025 (00:24 UTC)。
10201020

10211021
<a href="/bugs.html">發現 bug</a>
10221022

0 commit comments

Comments
 (0)