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
75808963
Commit
75808963
authored
Nov 21, 2016
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue 28751: Fix comments in code.h. (Contributed by Ned Batchelder).
parent
7705e9e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Include/code.h
Include/code.h
+3
-4
No files found.
Include/code.h
View file @
75808963
...
@@ -32,9 +32,8 @@ typedef struct {
...
@@ -32,9 +32,8 @@ typedef struct {
PyObject
*
co_varnames
;
/* tuple of strings (local variable names) */
PyObject
*
co_varnames
;
/* tuple of strings (local variable names) */
PyObject
*
co_freevars
;
/* tuple of strings (free variable names) */
PyObject
*
co_freevars
;
/* tuple of strings (free variable names) */
PyObject
*
co_cellvars
;
/* tuple of strings (cell variable names) */
PyObject
*
co_cellvars
;
/* tuple of strings (cell variable names) */
/* The rest aren't used in either hash or comparisons, except for
/* The rest aren't used in either hash or comparisons, except for co_name,
co_name (used in both) and co_firstlineno (used only in
used in both. This is done to preserve the name and line number
comparisons). This is done to preserve the name and line number
for tracebacks and debuggers; otherwise, constant de-duplication
for tracebacks and debuggers; otherwise, constant de-duplication
would collapse identical functions/lambdas defined on different lines.
would collapse identical functions/lambdas defined on different lines.
*/
*/
...
@@ -45,7 +44,7 @@ typedef struct {
...
@@ -45,7 +44,7 @@ typedef struct {
Objects/lnotab_notes.txt for details. */
Objects/lnotab_notes.txt for details. */
void
*
co_zombieframe
;
/* for optimization only (see frameobject.c) */
void
*
co_zombieframe
;
/* for optimization only (see frameobject.c) */
PyObject
*
co_weakreflist
;
/* to support weakrefs to code objects */
PyObject
*
co_weakreflist
;
/* to support weakrefs to code objects */
/* Scratch space for extra data relating to the code object.
__icc_nan
/* Scratch space for extra data relating to the code object.
Type is a void* to keep the format private in codeobject.c to force
Type is a void* to keep the format private in codeobject.c to force
people to go through the proper APIs. */
people to go through the proper APIs. */
void
*
co_extra
;
void
*
co_extra
;
...
...
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