mirror of
https://github.com/python/cpython.git
synced 2025-10-03 21:55:41 +00:00
(cherry picked from commit c3c7ef0885
)
This commit is contained in:
parent
eef6e11f98
commit
d1dbbaab01
1 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ definition with the same method name.
|
||||||
+==================+=============+===============================+
|
+==================+=============+===============================+
|
||||||
| :attr:`name` | char \* | name of the member |
|
| :attr:`name` | char \* | name of the member |
|
||||||
+------------------+-------------+-------------------------------+
|
+------------------+-------------+-------------------------------+
|
||||||
| :attr:`type` | int | the type of the member in the |
|
| :attr:`!type` | int | the type of the member in the |
|
||||||
| | | C struct |
|
| | | C struct |
|
||||||
+------------------+-------------+-------------------------------+
|
+------------------+-------------+-------------------------------+
|
||||||
| :attr:`offset` | Py_ssize_t | the offset in bytes that the |
|
| :attr:`offset` | Py_ssize_t | the offset in bytes that the |
|
||||||
|
@ -256,7 +256,7 @@ definition with the same method name.
|
||||||
| | | docstring |
|
| | | docstring |
|
||||||
+------------------+-------------+-------------------------------+
|
+------------------+-------------+-------------------------------+
|
||||||
|
|
||||||
:attr:`type` can be one of many ``T_`` macros corresponding to various C
|
:attr:`!type` can be one of many ``T_`` macros corresponding to various C
|
||||||
types. When the member is accessed in Python, it will be converted to the
|
types. When the member is accessed in Python, it will be converted to the
|
||||||
equivalent Python type.
|
equivalent Python type.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue