]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Minor clarification about the ob_size field.
authorFred Drake <fdrake@acm.org>
Fri, 7 Mar 2003 15:02:03 +0000 (15:02 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 7 Mar 2003 15:02:03 +0000 (15:02 +0000)
Doc/api/newtypes.tex

index d9f0f06d95e7426a2a4e903e521313c49b0ffbbc..b7014c40708137e2bc4a11fe6af68ad113ccdd37 100644 (file)
@@ -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