Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1d3686be
Commit
1d3686be
authored
Mar 01, 2000
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of silly "123456789-..." lines in comments.
parent
84c7c2e6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
22 deletions
+0
-22
Include/intobject.h
Include/intobject.h
+0
-4
Include/listobject.h
Include/listobject.h
+0
-2
Include/object.h
Include/object.h
+0
-12
Include/objimpl.h
Include/objimpl.h
+0
-2
Include/tupleobject.h
Include/tupleobject.h
+0
-2
No files found.
Include/intobject.h
View file @
1d3686be
...
@@ -38,8 +38,6 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -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));
...
@@ -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).
...
...
Include/listobject.h
View file @
1d3686be
...
@@ -38,8 +38,6 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -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.
...
...
Include/object.h
View file @
1d3686be
...
@@ -38,8 +38,6 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -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.
...
@@ -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 {
...
@@ -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.
...
@@ -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. :-( )
...
@@ -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
...
@@ -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
...
...
Include/objimpl.h
View file @
1d3686be
...
@@ -36,8 +36,6 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -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".
...
...
Include/tupleobject.h
View file @
1d3686be
...
@@ -38,8 +38,6 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment