diff options
author | Fred Drake <fdrake@acm.org> | 2003-03-07 15:02:03 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-03-07 15:02:03 (GMT) |
commit | 9e1595e6e4c31ebfecd1c4c9f833e39799560963 (patch) | |
tree | ebc009835fdb3a60d768fbd02486e0dfbc5109bc | |
parent | cfc4902b2ada654585e3e2225eebe9c4737dccc2 (diff) | |
download | cpython-9e1595e6e4c31ebfecd1c4c9f833e39799560963.zip cpython-9e1595e6e4c31ebfecd1c4c9f833e39799560963.tar.gz cpython-9e1595e6e4c31ebfecd1c4c9f833e39799560963.tar.bz2 |
Minor clarification about the ob_size field.
-rw-r--r-- | Doc/api/newtypes.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/api/newtypes.tex b/Doc/api/newtypes.tex index d9f0f06..b7014c4 100644 --- a/Doc/api/newtypes.tex +++ b/Doc/api/newtypes.tex @@ -461,9 +461,9 @@ Foo_Type.ob_type = &PyType_Type; example, long ints use a negative \member{ob_size} to indicate a negative number, and N is \code{abs(\member{ob_size})} there. Also, the presence of an \member{ob_size} field in the instance layout - doesn't mean that the type is variable-length (for example, the list - type has fixed-length instances, yet those instances have a - meaningful \member{ob_size} field). + doesn't mean that the instance structure is variable-length (for + example, the structure for the list type has fixed-length instances, + yet those instances have a meaningful \member{ob_size} field). The basic size includes the fields in the instance declared by the macro \csimplemacro{PyObject_HEAD} or |