Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e1595e

Browse files
committed
Minor clarification about the ob_size field.
1 parent cfc4902 commit 9e1595e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/api/newtypes.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ \section{Type Objects \label{type-structs}}
461461
example, long ints use a negative \member{ob_size} to indicate a
462462
negative number, and N is \code{abs(\member{ob_size})} there. Also,
463463
the presence of an \member{ob_size} field in the instance layout
464-
doesn't mean that the type is variable-length (for example, the list
465-
type has fixed-length instances, yet those instances have a
466-
meaningful \member{ob_size} field).
464+
doesn't mean that the instance structure is variable-length (for
465+
example, the structure for the list type has fixed-length instances,
466+
yet those instances have a meaningful \member{ob_size} field).
467467

468468
The basic size includes the fields in the instance declared by the
469469
macro \csimplemacro{PyObject_HEAD} or

0 commit comments

Comments
 (0)