Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1c1c864 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwang44 committed Aug 28, 2024
1 parent bccd528 commit d999020
Show file tree
Hide file tree
Showing 540 changed files with 716 additions and 809 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 95672da2a7bca6d65c95c8dafe0f7466
config: 2b1915377ac5817e2b5ab6694dc2f7b7
tags: 645f666f9bcd5a90fca523b33c5a78b7
24 changes: 16 additions & 8 deletions _sources/c-api/tuple.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,27 @@ Tuple Objects
.. c:function:: PyObject* PyTuple_New(Py_ssize_t len)
Return a new tuple object of size *len*, or ``NULL`` on failure.
Return a new tuple object of size *len*,
or ``NULL`` with an exception set on failure.
.. c:function:: PyObject* PyTuple_Pack(Py_ssize_t n, ...)
Return a new tuple object of size *n*, or ``NULL`` on failure. The tuple values
Return a new tuple object of size *n*,
or ``NULL`` with an exception set on failure. The tuple values
are initialized to the subsequent *n* C arguments pointing to Python objects.
``PyTuple_Pack(2, a, b)`` is equivalent to ``Py_BuildValue("(OO)", a, b)``.
.. c:function:: Py_ssize_t PyTuple_Size(PyObject *p)
Take a pointer to a tuple object, and return the size of that tuple.
On error, return ``-1`` and with an exception set.
.. c:function:: Py_ssize_t PyTuple_GET_SIZE(PyObject *p)
Return the size of the tuple *p*, which must be non-``NULL`` and point to a tuple;
no error checking is performed.
Like :c:func:`PyTuple_Size`, but without error checking.
.. c:function:: PyObject* PyTuple_GetItem(PyObject *p, Py_ssize_t pos)
Expand All @@ -74,8 +76,10 @@ Tuple Objects
.. c:function:: PyObject* PyTuple_GetSlice(PyObject *p, Py_ssize_t low, Py_ssize_t high)
Return the slice of the tuple pointed to by *p* between *low* and *high*,
or ``NULL`` on failure. This is the equivalent of the Python expression
``p[low:high]``. Indexing from the end of the tuple is not supported.
or ``NULL`` with an exception set on failure.
This is the equivalent of the Python expression ``p[low:high]``.
Indexing from the end of the tuple is not supported.
.. c:function:: int PyTuple_SetItem(PyObject *p, Py_ssize_t pos, PyObject *o)
Expand Down Expand Up @@ -132,6 +136,8 @@ type.
Create a new struct sequence type from the data in *desc*, described below. Instances
of the resulting type can be created with :c:func:`PyStructSequence_New`.
Return ``NULL`` with an exception set on failure.
.. c:function:: void PyStructSequence_InitType(PyTypeObject *type, PyStructSequence_Desc *desc)
Expand All @@ -140,8 +146,8 @@ type.
.. c:function:: int PyStructSequence_InitType2(PyTypeObject *type, PyStructSequence_Desc *desc)
The same as ``PyStructSequence_InitType``, but returns ``0`` on success and ``-1`` on
failure.
Like :c:func:`PyStructSequence_InitType`, but returns ``0`` on success
and ``-1`` with an exception set on failure.
.. versionadded:: 3.4
Expand Down Expand Up @@ -198,6 +204,8 @@ type.
Creates an instance of *type*, which must have been created with
:c:func:`PyStructSequence_NewType`.
Return ``NULL`` with an exception set on failure.
.. c:function:: PyObject* PyStructSequence_GetItem(PyObject *p, Py_ssize_t pos)
Expand Down
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion bugs.html
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/abstract.html
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/allocation.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/apiabiversion.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/arg.html
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/bool.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/buffer.html
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/bytearray.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/bytes.html
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/call.html
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/capsule.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/codec.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/complex.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/concrete.html
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/contextvars.html
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/conversion.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/coro.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/datetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/descriptor.html
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/dict.html
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -1689,7 +1689,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/file.html
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/float.html
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/function.html
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/gcsupport.html
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/gen.html
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/hash.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/import.html
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/init.html
Original file line number Diff line number Diff line change
Expand Up @@ -2479,7 +2479,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
2 changes: 1 addition & 1 deletion c-api/init_config.html
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,7 @@ <h3>瀏覽</h3>
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
最後更新於 Aug 27, 2024 (04:09 UTC)。
最後更新於 Aug 28, 2024 (13:21 UTC)。

<a href="/bugs.html">Found a bug</a>?

Expand Down
Loading

0 comments on commit d999020

Please sign in to comment.