Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Boxiang Sun
Pyston
Commits
9ee0bd8d
Commit
9ee0bd8d
authored
Apr 16, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0-arg vars()
parent
fa3ed96f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/runtime/builtin_modules/builtins.cpp
src/runtime/builtin_modules/builtins.cpp
+2
-1
No files found.
src/runtime/builtin_modules/builtins.cpp
View file @
9ee0bd8d
...
@@ -78,7 +78,8 @@ extern "C" Box* dir(Box* obj) {
...
@@ -78,7 +78,8 @@ extern "C" Box* dir(Box* obj) {
}
}
extern
"C"
Box
*
vars
(
Box
*
obj
)
{
extern
"C"
Box
*
vars
(
Box
*
obj
)
{
RELEASE_ASSERT
(
obj
,
"Don't support 0-arg vars() calls yet"
);
if
(
!
obj
)
return
fastLocalsToBoxedLocals
();
return
makeAttrWrapper
(
obj
);
return
makeAttrWrapper
(
obj
);
}
}
...
...
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