isn't sufficient to determine if it's safe to treat <em>o</em> as having no
access by other threads. Use <aclass="reference internal" href="object.html#c.PyUnstable_Object_IsUniquelyReferenced" title="PyUnstable_Object_IsUniquelyReferenced"><codeclass="xref c c-func docutils literal notranslate"><spanclass="pre">PyUnstable_Object_IsUniquelyReferenced()</span></code></a>
for that instead.</p>
<p>See also the function <aclass="reference internal" href="object.html#c.PyUnstable_Object_IsUniqueReferencedTemporary" title="PyUnstable_Object_IsUniqueReferencedTemporary"><codeclass="xref c c-func docutils literal notranslate"><spanclass="pre">PyUnstable_Object_IsUniqueReferencedTemporary()</span></code></a>.</p>
<dd><emclass="stableabi"> This macro is available when compiling for the <aclass="reference internal" href="stable.html#stable"><spanclass="std std-ref">穩定 ABI 的一部分</span></a> 自 3.9 版本開始.</em><p>設定物件 <em>o</em> 的參照計數。</p>
<dd><emclass="stableabi"> This macro is available when compiling for the <aclass="reference internal" href="stable.html#stable"><spanclass="std std-ref">穩定 ABI 的一部分</span></a>.</em><p>代表取得對於物件 <em>o</em> 的新<aclass="reference internal" href="../glossary.html#term-strong-reference"><spanclass="xref std std-term">強參照</span></a>,即它正在使用且不應被銷毀。</p>
<dd><emclass="stableabi"> This macro is available when compiling for the <aclass="reference internal" href="stable.html#stable"><spanclass="std std-ref">穩定 ABI 的一部分</span></a>.</em><p>與 <aclass="reference internal" href="#c.Py_INCREF" title="Py_INCREF"><codeclass="xref c c-func docutils literal notranslate"><spanclass="pre">Py_INCREF()</span></code></a> 類似,但物件 <em>o</em> 可以為 <codeclass="docutils literal notranslate"><spanclass="pre">NULL</span></code>,在這種情況下這就不會有任何效果。</p>
<p>另請見 <aclass="reference internal" href="#c.Py_XNewRef" title="Py_XNewRef"><codeclass="xref c c-func docutils literal notranslate"><spanclass="pre">Py_XNewRef()</span></code></a>。</p>
<dd><emclass="stableabi"> This macro is available when compiling for the <aclass="reference internal" href="stable.html#stable"><spanclass="std std-ref">穩定 ABI 的一部分</span></a>.</em><p>釋放一個對物件 <em>o</em> 的<aclass="reference internal" href="../glossary.html#term-strong-reference"><spanclass="xref std std-term">強參照</span></a>,代表該參照不會再被使用。</p>
<dd><emclass="stableabi"> This macro is available when compiling for the <aclass="reference internal" href="stable.html#stable"><spanclass="std std-ref">穩定 ABI 的一部分</span></a>.</em><p>和 <aclass="reference internal" href="#c.Py_DECREF" title="Py_DECREF"><codeclass="xref c c-func docutils literal notranslate"><spanclass="pre">Py_DECREF()</span></code></a> 類似,但該物件可以是 <codeclass="docutils literal notranslate"><spanclass="pre">NULL</span></code>,在這種情況下巨集不起作用。在這裡也會出現與 <aclass="reference internal" href="#c.Py_DECREF" title="Py_DECREF"><codeclass="xref c c-func docutils literal notranslate"><spanclass="pre">Py_DECREF()</span></code></a> 相同的警告。</p>