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
8ced961a
Commit
8ced961a
authored
Aug 25, 2007
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some comments
parent
1dd2c829
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Include/funcobject.h
Include/funcobject.h
+2
-2
No files found.
Include/funcobject.h
View file @
8ced961a
...
...
@@ -10,7 +10,7 @@ extern "C" {
/* Function objects and code objects should not be confused with each other:
*
* Function objects are created by the execution of the 'def' statement.
* They reference a code object in their
func_code
attribute, which is a
* They reference a code object in their
__code__
attribute, which is a
* purely syntactic object, i.e. nothing more than a compiled version of some
* source code lines. There is one code object per source code "fragment",
* but each code object can be referenced by zero or many function objects
...
...
@@ -20,7 +20,7 @@ extern "C" {
typedef
struct
{
PyObject_HEAD
PyObject
*
func_code
;
/* A code object */
PyObject
*
func_code
;
/* A code object
, the __code__ attribute
*/
PyObject
*
func_globals
;
/* A dictionary (other mappings won't do) */
PyObject
*
func_defaults
;
/* NULL or a tuple */
PyObject
*
func_kwdefaults
;
/* NULL or a dict */
...
...
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