Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
69f7d776
Commit
69f7d776
authored
May 02, 2011
by
Vitja Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move star_arg and starstar_arg to FuncDefNode
parent
832fe4fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+4
-4
No files found.
Cython/Compiler/Nodes.py
View file @
69f7d776
...
...
@@ -1177,6 +1177,8 @@ class FuncDefNode(StatNode, BlockNode):
# needs_closure boolean Whether or not this function has inner functions/classes/yield
# needs_outer_scope boolean Whether or not this function requires outer scope
# directive_locals { string : NameNode } locals defined by cython.locals(...)
# star_arg PyArgDeclNode or None * argument
# starstar_arg PyArgDeclNode or None ** argument
py_func
=
None
assmt
=
None
...
...
@@ -1185,6 +1187,8 @@ class FuncDefNode(StatNode, BlockNode):
is_generator
=
False
is_generator_body
=
False
modifiers
=
[]
star_arg
=
None
starstar_arg
=
None
def
analyse_default_values
(
self
,
env
):
genv
=
env
.
global_scope
()
...
...
@@ -1940,8 +1944,6 @@ class DefNode(FuncDefNode):
# lambda_name string the internal name of a lambda 'function'
# decorators [DecoratorNode] list of decorators
# args [CArgDeclNode] formal arguments
# star_arg PyArgDeclNode or None * argument
# starstar_arg PyArgDeclNode or None ** argument
# doc EncodedString or None
# body StatListNode
# return_type_annotation
...
...
@@ -1966,8 +1968,6 @@ class DefNode(FuncDefNode):
entry
=
None
acquire_gil
=
0
self_in_stararg
=
0
star_arg
=
None
starstar_arg
=
None
doc
=
None
def
__init__
(
self
,
pos
,
**
kwds
):
...
...
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