| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -919,6 +919,22 @@ use them. | |||
| 919 | 919 | See :pep:`353` for details. ``PY_SSIZE_T_MAX`` is the largest positive value | |
| 920 | 920 | of type :c:type:`Py_ssize_t`. | |
| 921 | 921 | ||
| 922 | + .. c:type:: Py_intptr_t | ||
| 923 | + | ||
| 924 | + A signed integral type such that a legitimate ``void*`` can be cast to | ||
| 925 | + :c:type:`Py_intptr_t` and then back to ``void*`` again without loss of | ||
| 926 | + information. | ||
| 927 | + | ||
| 928 | + Kept for backwards compatibility; prefer using ``intptr_t`` directly. | ||
| 929 | + | ||
| 930 | + .. c:type:: Py_uintptr_t | ||
| 931 | + | ||
| 932 | + An unsigned integral type such that a legitimate ``void*`` can be cast to | ||
| 933 | + :c:type:`Py_uintptr_t` and then back to ``void*`` again without loss of | ||
| 934 | + information. | ||
| 935 | + | ||
| 936 | + Kept for backwards compatibility; prefer using ``uintptr_t`` directly. | ||
| 937 | + | ||
| 922 | 938 | ||
| 923 | 939 | .. _api-exceptions: | |
| 924 | 940 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,9 @@ specific object types which directly implement weak references. The first is a | |||
| 10 | 10 | simple reference object, and the second acts as a proxy for the original object | |
| 11 | 11 | as much as it can. | |
| 12 | 12 | ||
| 13 | + .. c:type:: PyWeakReference | ||
| 14 | + | ||
| 15 | + The C structure of the objects used to describe weak references objects. | ||
| 13 | 16 | ||
| 14 | 17 | .. c:function:: int PyWeakref_Check(PyObject *ob) | |
| 15 | 18 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -234,6 +234,22 @@ | |||
| 234 | 234 | ('py:attr', '__wrapped__'), | |
| 235 | 235 | ] | |
| 236 | 236 | ||
| 237 | + # Objects present in the stable_abi.dat but removed from the docs | ||
| 238 | + # or with suppressed references to them. | ||
| 239 | + nitpick_ignore += [ | ||
| 240 | + # pending removal in Python 3.16 | ||
| 241 | + ('c:data', 'Py_FileSystemDefaultEncodeErrors'), | ||
| 242 | + ('c:data', 'Py_FileSystemDefaultEncoding'), | ||
| 243 | + ('c:data', 'Py_HasFileSystemDefaultEncoding'), | ||
| 244 | + ('c:data', 'Py_UTF8Mode'), | ||
| 245 | + # legacy typedefs for sq_slice and sq_ass_slice | ||
| 246 | + ('c:type', 'ssizessizeargfunc'), | ||
| 247 | + ('c:type', 'ssizessizeobjargproc'), | ||
| 248 | + # 'symtable' was exposed by symtable.h but removed in 3.10. | ||
| 249 | + # See https://github.com/python/cpython/pull/24910. | ||
| 250 | + ('c:type', 'symtable'), | ||
| 251 | + ] | ||
| 252 | + | ||
| 237 | 253 | # gh-106948: Copy standard C types declared in the "c:type" domain and C | |
| 238 | 254 | # structures declared in the "c:struct" domain to the "c:identifier" domain, | |
| 239 | 255 | # since "c:function" markup looks for types in the "c:identifier" domain. Use | |
| Back | FazBrowse Home | New Git URL |
0 commit comments