Got rid of silly "123456789-..." lines in comments.
This commit is contained in:
parent
f1146572dd
commit
c6e87a2925
|
@ -38,8 +38,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
/* Integer object interface */
|
/* Integer object interface */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
|
|
||||||
PyIntObject represents a (long) integer. This is an immutable object;
|
PyIntObject represents a (long) integer. This is an immutable object;
|
||||||
an integer cannot change its value after creation.
|
an integer cannot change its value after creation.
|
||||||
|
|
||||||
|
@ -68,8 +66,6 @@ extern DL_IMPORT(long) PyInt_GetMax Py_PROTO((void));
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
|
|
||||||
False and True are special intobjects used by Boolean expressions.
|
False and True are special intobjects used by Boolean expressions.
|
||||||
All values of type Boolean must point to either of these; but in
|
All values of type Boolean must point to either of these; but in
|
||||||
contexts where integers are required they are integers (valued 0 and 1).
|
contexts where integers are required they are integers (valued 0 and 1).
|
||||||
|
|
|
@ -38,8 +38,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
/* List object interface */
|
/* List object interface */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
|
|
||||||
Another generally useful object type is an list of object pointers.
|
Another generally useful object type is an list of object pointers.
|
||||||
This is a mutable type: the list items can be changed, and items can be
|
This is a mutable type: the list items can be changed, and items can be
|
||||||
added or removed. Out-of-range indices or non-list objects are ignored.
|
added or removed. Out-of-range indices or non-list objects are ignored.
|
||||||
|
|
|
@ -38,8 +38,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
/* Object and type object interface */
|
/* Object and type object interface */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
|
|
||||||
Objects are structures allocated on the heap. Special rules apply to
|
Objects are structures allocated on the heap. Special rules apply to
|
||||||
the use of objects to ensure they are properly garbage-collected.
|
the use of objects to ensure they are properly garbage-collected.
|
||||||
Objects are never allocated statically or on the stack; they must be
|
Objects are never allocated statically or on the stack; they must be
|
||||||
|
@ -80,8 +78,6 @@ type and back.
|
||||||
|
|
||||||
A standard interface exists for objects that contain an array of items
|
A standard interface exists for objects that contain an array of items
|
||||||
whose size is determined when the object is allocated.
|
whose size is determined when the object is allocated.
|
||||||
|
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef Py_DEBUG
|
#ifdef Py_DEBUG
|
||||||
|
@ -121,8 +117,6 @@ typedef struct {
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
|
|
||||||
Type objects contain a string containing the type name (to help somewhat
|
Type objects contain a string containing the type name (to help somewhat
|
||||||
in debugging), the allocation parameters (see newobj() and newvarobj()),
|
in debugging), the allocation parameters (see newobj() and newvarobj()),
|
||||||
and methods for accessing objects of the type. Methods are optional,a
|
and methods for accessing objects of the type. Methods are optional,a
|
||||||
|
@ -329,8 +323,6 @@ given type object has a specified feature.
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
|
|
||||||
The macros Py_INCREF(op) and Py_DECREF(op) are used to increment or decrement
|
The macros Py_INCREF(op) and Py_DECREF(op) are used to increment or decrement
|
||||||
reference counts. Py_DECREF calls the object's deallocator function; for
|
reference counts. Py_DECREF calls the object's deallocator function; for
|
||||||
objects that don't contain references to other objects or heap memory
|
objects that don't contain references to other objects or heap memory
|
||||||
|
@ -473,8 +465,6 @@ object, so I can't just put extern in all cases. :-( )
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
|
|
||||||
More conventions
|
More conventions
|
||||||
================
|
================
|
||||||
|
|
||||||
|
@ -522,8 +512,6 @@ argument consume a reference count; however this may quickly get
|
||||||
confusing (even the current practice is already confusing). Consider
|
confusing (even the current practice is already confusing). Consider
|
||||||
it carefully, it may save lots of calls to Py_INCREF() and Py_DECREF() at
|
it carefully, it may save lots of calls to Py_INCREF() and Py_DECREF() at
|
||||||
times.
|
times.
|
||||||
|
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -36,8 +36,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
******************************************************************/
|
******************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
|
|
||||||
Additional macros for modules that implement new object types.
|
Additional macros for modules that implement new object types.
|
||||||
You must first include "object.h".
|
You must first include "object.h".
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
/* Tuple object interface */
|
/* Tuple object interface */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
|
||||||
|
|
||||||
Another generally useful object type is an tuple of object pointers.
|
Another generally useful object type is an tuple of object pointers.
|
||||||
This is a mutable type: the tuple items can be changed (but not their
|
This is a mutable type: the tuple items can be changed (but not their
|
||||||
number). Out-of-range indices or non-tuple objects are ignored.
|
number). Out-of-range indices or non-tuple objects are ignored.
|
||||||
|
|
Loading…
Reference in New Issue