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
99858b53
Commit
99858b53
authored
Feb 28, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add DEF_BOUND
parent
7840a9cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Include/symtable.h
Include/symtable.h
+3
-1
No files found.
Include/symtable.h
View file @
99858b53
...
...
@@ -71,11 +71,13 @@ DL_IMPORT(void) PySymtable_Free(struct symtable *);
#define DEF_STAR 2<<3
/* parameter is star arg */
#define DEF_DOUBLESTAR 2<<4
/* parameter is star-star arg */
#define DEF_INTUPLE 2<<5
/* name defined in tuple in parameters */
#define DEF_FREE 2<<6
/* name used b
y
not defined in nested scope */
#define DEF_FREE 2<<6
/* name used b
ut
not defined in nested scope */
#define DEF_FREE_GLOBAL 2<<7
/* free variable is actually implicit global */
#define DEF_FREE_CLASS 2<<8
/* free variable from class's method */
#define DEF_IMPORT 2<<9
/* assignment occurred via import */
#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
#define TYPE_FUNCTION 1
#define TYPE_CLASS 2
#define TYPE_MODULE 3
...
...
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