Skip to content

Commit 7a7cdd0

Browse files
Deploy preview for PR 1211 🛫
1 parent a123c4c commit 7a7cdd0

File tree

587 files changed

+1345
-1170
lines changed

Some content is hidden

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

587 files changed

+1345
-1170
lines changed

pr-preview/pr-1211/_sources/c-api/frame.rst.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ See also :ref:`Reflection <reflection>`.
5050
5151
Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer
5252
frame.
53+
This raises no exceptions.
5354
5455
.. versionadded:: 3.9
5556

pr-preview/pr-1211/_sources/c-api/typeobj.rst.txt

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,6 +1484,52 @@ and :c:data:`PyType_Type` effectively act as defaults.)
14841484
It will be removed in a future version of CPython
14851485

14861486

1487+
.. c:macro:: Py_TPFLAGS_HAVE_VERSION_TAG
1488+
1489+
This is a :term:`soft deprecated` macro that does nothing.
1490+
Historically, this would indicate that the
1491+
:c:member:`~PyTypeObject.tp_version_tag` field was available and
1492+
initialized.
1493+
1494+
1495+
.. c:macro:: Py_TPFLAGS_INLINE_VALUES
1496+
1497+
This bit indicates that instances of this type will have an "inline values"
1498+
array (containing the object's attributes) placed directly after the end
1499+
of the object.
1500+
1501+
This requires that :c:macro:`Py_TPFLAGS_HAVE_GC` is set.
1502+
1503+
**Inheritance:**
1504+
1505+
This flag is not inherited.
1506+
1507+
.. versionadded:: 3.13
1508+
1509+
1510+
.. c:macro:: Py_TPFLAGS_IS_ABSTRACT
1511+
1512+
This bit indicates that this is an abstract type and therefore cannot
1513+
be instantiated.
1514+
1515+
**Inheritance:**
1516+
1517+
This flag is not inherited.
1518+
1519+
.. seealso::
1520+
:mod:`abc`
1521+
1522+
1523+
.. c:macro:: Py_TPFLAGS_HAVE_STACKLESS_EXTENSION
1524+
1525+
Internal. Do not set or unset this flag.
1526+
Historically, this was a reserved flag for use in Stackless Python.
1527+
1528+
.. warning::
1529+
This flag is present in header files, but is not be used.
1530+
This may be removed in a future version of CPython.
1531+
1532+
14871533
.. c:member:: const char* PyTypeObject.tp_doc
14881534
14891535
.. corresponding-type-slot:: Py_tp_doc

pr-preview/pr-1211/_static/copybutton.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ const loadCopyButton = () => {
6262
+ ".highlight-python3 .highlight,"
6363
+ ".highlight-pycon .highlight,"
6464
+ ".highlight-pycon3 .highlight,"
65+
+ ".highlight-bash .highlight,"
66+
+ ".highlight-console .highlight,"
67+
+ ".highlight-doscon .highlight,"
68+
+ ".highlight-ps1con .highlight,"
69+
+ ".highlight-sh .highlight,"
70+
+ ".highlight-shell-session .highlight,"
6571
+ ".highlight-default .highlight"
6672
)
6773

pr-preview/pr-1211/_static/pydoctheme.css

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,25 @@ div.body {
247247
}
248248
}
249249

250+
div.code-block-caption {
251+
background-color: #eee;
252+
border: 1px solid #ac9;
253+
border-bottom: none;
254+
border-radius: 3px 3px 0 0;
255+
padding: 0.3em 0.6em;
256+
font-size: 90%;
257+
color: #333;
258+
259+
& + div pre {
260+
border-top-left-radius: 0 !important;
261+
border-top-right-radius: 0 !important;
262+
}
263+
264+
& + div .copybutton {
265+
border-top-right-radius: 0 !important;
266+
}
267+
}
268+
250269
/* Admonitions */
251270
:root {
252271
--admonition-background: #eee;
@@ -425,6 +444,26 @@ div.footer a:hover {
425444
color: #229;
426445
}
427446

447+
/* C API thread safety annotations */
448+
:root {
449+
--threadsafety-incompatible: var(--bad-color);
450+
--threadsafety-compatible: var(--middle-color);
451+
--threadsafety-safe: var(--good-color);
452+
}
453+
454+
.threadsafety.threadsafety-incompatible {
455+
color: var(--threadsafety-incompatible);
456+
}
457+
458+
.threadsafety.threadsafety-compatible {
459+
color: var(--threadsafety-compatible);
460+
}
461+
462+
.threadsafety.threadsafety-safe {
463+
color: var(--threadsafety-safe);
464+
}
465+
466+
428467
dl > dt span ~ em,
429468
.sig {
430469
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;

pr-preview/pr-1211/_static/pydoctheme_dark.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ div.body pre {
9797
border-color: #616161;
9898
}
9999

100+
div.code-block-caption {
101+
background-color: #333;
102+
border-color: #616161;
103+
color: white;
104+
}
105+
100106
code {
101107
background-color: #424242;
102108
}

pr-preview/pr-1211/about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=234b1a7c" />
12-
<link rel="stylesheet" type="text/css" href="_static/pydoctheme.css?v=4eb63a40" />
12+
<link rel="stylesheet" type="text/css" href="_static/pydoctheme.css?v=89a2f22a" />
1313
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="_static/pygments_dark.css?v=5349f25f" />
1414

1515
<script src="_static/documentation_options.js?v=e2c088d7"></script>
@@ -356,7 +356,7 @@ <h3>導航</h3>
356356
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
357357
<br>
358358
<br>
359-
最後更新於 2月 26, 2026 (18:35 UTC)。
359+
最後更新於 2月 28, 2026 (00:22 UTC)。
360360

361361
<a href="/bugs.html">發現 bug</a>
362362

pr-preview/pr-1211/bugs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=234b1a7c" />
12-
<link rel="stylesheet" type="text/css" href="_static/pydoctheme.css?v=4eb63a40" />
12+
<link rel="stylesheet" type="text/css" href="_static/pydoctheme.css?v=89a2f22a" />
1313
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="_static/pygments_dark.css?v=5349f25f" />
1414

1515
<script src="_static/documentation_options.js?v=e2c088d7"></script>
@@ -393,7 +393,7 @@ <h3>導航</h3>
393393
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
394394
<br>
395395
<br>
396-
最後更新於 2月 26, 2026 (18:35 UTC)。
396+
最後更新於 2月 28, 2026 (00:22 UTC)。
397397

398398
<a href="/bugs.html">發現 bug</a>
399399

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" />
12-
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=4eb63a40" />
12+
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=89a2f22a" />
1313
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=5349f25f" />
1414

1515
<script src="../_static/documentation_options.js?v=e2c088d7"></script>
@@ -365,7 +365,7 @@ <h3>導航</h3>
365365
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
366366
<br>
367367
<br>
368-
最後更新於 2月 26, 2026 (18:35 UTC)。
368+
最後更新於 2月 28, 2026 (00:22 UTC)。
369369

370370
<a href="/bugs.html">發現 bug</a>
371371

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" />
12-
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=4eb63a40" />
12+
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=89a2f22a" />
1313
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=5349f25f" />
1414

1515
<script src="../_static/documentation_options.js?v=e2c088d7"></script>
@@ -574,7 +574,7 @@ <h3>導航</h3>
574574
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
575575
<br>
576576
<br>
577-
最後更新於 2月 26, 2026 (18:35 UTC)。
577+
最後更新於 2月 28, 2026 (00:22 UTC)。
578578

579579
<a href="/bugs.html">發現 bug</a>
580580

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" />
12-
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=4eb63a40" />
12+
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=89a2f22a" />
1313
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=5349f25f" />
1414

1515
<script src="../_static/documentation_options.js?v=e2c088d7"></script>
@@ -514,7 +514,7 @@ <h3>導航</h3>
514514
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
515515
<br>
516516
<br>
517-
最後更新於 2月 26, 2026 (18:35 UTC)。
517+
最後更新於 2月 28, 2026 (00:22 UTC)。
518518

519519
<a href="/bugs.html">發現 bug</a>
520520

0 commit comments

Comments
 (0)