|
5 | 5 | <meta charset="utf-8" /> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 | 7 |
|
8 | | - <title>Allocating objects on the heap — Python 3.14.4 說明文件</title><meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 8 | + <title>在 heap 上分配物件 — Python 3.14.4 說明文件</title><meta name="viewport" content="width=device-width, initial-scale=1.0"> |
9 | 9 |
|
10 | 10 | <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" /> |
11 | 11 | <link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" /> |
|
89 | 89 | <div> |
90 | 90 | <h3><a href="../contents.html">目錄</a></h3> |
91 | 91 | <ul> |
92 | | -<li><a class="reference internal" href="#">Allocating objects on the heap</a><ul> |
93 | | -<li><a class="reference internal" href="#soft-deprecated-aliases">Soft-deprecated aliases</a></li> |
| 92 | +<li><a class="reference internal" href="#">在 heap 上分配物件</a><ul> |
| 93 | +<li><a class="reference internal" href="#soft-deprecated-aliases">軟性棄用的別名</a></li> |
94 | 94 | </ul> |
95 | 95 | </li> |
96 | 96 | </ul> |
@@ -174,7 +174,7 @@ <h3>導航</h3> |
174 | 174 |
|
175 | 175 | <li class="nav-item nav-item-1"><a href="index.html" >Python/C API 參考手冊</a> »</li> |
176 | 176 | <li class="nav-item nav-item-2"><a href="objimpl.html" accesskey="U">物件實作支援</a> »</li> |
177 | | - <li class="nav-item nav-item-this"><a href="">Allocating objects on the heap</a></li> |
| 177 | + <li class="nav-item nav-item-this"><a href="">在 heap 上分配物件</a></li> |
178 | 178 | <li class="right"> |
179 | 179 |
|
180 | 180 |
|
@@ -205,7 +205,7 @@ <h3>導航</h3> |
205 | 205 | <div class="body" role="main"> |
206 | 206 |
|
207 | 207 | <section id="allocating-objects-on-the-heap"> |
208 | | -<span id="allocating-objects"></span><h1>Allocating objects on the heap<a class="headerlink" href="#allocating-objects-on-the-heap" title="連結到這個標頭">¶</a></h1> |
| 208 | +<span id="allocating-objects"></span><h1>在 heap 上分配物件<a class="headerlink" href="#allocating-objects-on-the-heap" title="連結到這個標頭">¶</a></h1> |
209 | 209 | <dl class="c function"> |
210 | 210 | <dt class="sig sig-object c" id="c._PyObject_New"> |
211 | 211 | <a class="reference internal" href="structures.html#c.PyObject" title="PyObject"><span class="n"><span class="pre">PyObject</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="sig-name descname"><span class="n"><span class="pre">_PyObject_New</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="type.html#c.PyTypeObject" title="PyTypeObject"><span class="n"><span class="pre">PyTypeObject</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">type</span></span><span class="sig-paren">)</span><a class="headerlink" href="#c._PyObject_New" title="連結到這個定義">¶</a><br /></dt> |
@@ -348,15 +348,15 @@ <h3>導航</h3> |
348 | 348 | </dl> |
349 | 349 | </div> |
350 | 350 | <section id="soft-deprecated-aliases"> |
351 | | -<h2>Soft-deprecated aliases<a class="headerlink" href="#soft-deprecated-aliases" title="連結到這個標頭">¶</a></h2> |
| 351 | +<h2>軟性棄用的別名<a class="headerlink" href="#soft-deprecated-aliases" title="連結到這個標頭">¶</a></h2> |
352 | 352 | <div class="versionchanged soft-deprecated"> |
353 | 353 | <p><span class="versionmodified soft-deprecated"><a class="reference internal" href="../glossary.html#term-soft-deprecated">Soft deprecated</a> since version 3.10.</span></p> |
354 | 354 | </div> |
355 | 355 | <p>These are aliases to existing functions and macros. |
356 | 356 | They exist solely for backwards compatibility.</p> |
357 | 357 | <table class="docutils align-default"> |
358 | 358 | <thead> |
359 | | -<tr class="row-odd"><th class="head"><p>Soft-deprecated alias</p></th> |
| 359 | +<tr class="row-odd"><th class="head"><p>軟性棄用的別名</p></th> |
360 | 360 | <th class="head"><p>函式</p></th> |
361 | 361 | </tr> |
362 | 362 | </thead> |
@@ -448,8 +448,8 @@ <h2>Soft-deprecated aliases<a class="headerlink" href="#soft-deprecated-aliases" |
448 | 448 | <div> |
449 | 449 | <h3><a href="../contents.html">目錄</a></h3> |
450 | 450 | <ul> |
451 | | -<li><a class="reference internal" href="#">Allocating objects on the heap</a><ul> |
452 | | -<li><a class="reference internal" href="#soft-deprecated-aliases">Soft-deprecated aliases</a></li> |
| 451 | +<li><a class="reference internal" href="#">在 heap 上分配物件</a><ul> |
| 452 | +<li><a class="reference internal" href="#soft-deprecated-aliases">軟性棄用的別名</a></li> |
453 | 453 | </ul> |
454 | 454 | </li> |
455 | 455 | </ul> |
@@ -536,7 +536,7 @@ <h3>導航</h3> |
536 | 536 |
|
537 | 537 | <li class="nav-item nav-item-1"><a href="index.html" >Python/C API 參考手冊</a> »</li> |
538 | 538 | <li class="nav-item nav-item-2"><a href="objimpl.html" >物件實作支援</a> »</li> |
539 | | - <li class="nav-item nav-item-this"><a href="">Allocating objects on the heap</a></li> |
| 539 | + <li class="nav-item nav-item-this"><a href="">在 heap 上分配物件</a></li> |
540 | 540 | <li class="right"> |
541 | 541 |
|
542 | 542 |
|
@@ -577,7 +577,7 @@ <h3>導航</h3> |
577 | 577 | <a href="https://www.python.org/psf/donations/">敬請捐贈。</a> |
578 | 578 | <br> |
579 | 579 | <br> |
580 | | - 最後更新於 4月 25, 2026 (00:32 UTC)。 |
| 580 | + 最後更新於 4月 26, 2026 (04:09 UTC)。 |
581 | 581 |
|
582 | 582 | <a href="/bugs.html">發現 bug</a>? |
583 | 583 |
|
|
0 commit comments