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
5b7313a9
Commit
5b7313a9
authored
Apr 06, 1992
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Arg of cmp_outcome becomes an int for portability to the Mac
parent
02334d2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Python/ceval.c
Python/ceval.c
+3
-3
No files found.
Python/ceval.c
View file @
5b7313a9
...
...
@@ -74,7 +74,7 @@ static int assign_subscript PROTO((object *, object *, object *));
static
int
assign_slice
PROTO
((
object
*
,
object
*
,
object
*
,
object
*
));
static
int
cmp_exception
PROTO
((
object
*
,
object
*
));
static
int
cmp_member
PROTO
((
object
*
,
object
*
));
static
object
*
cmp_outcome
PROTO
((
enum
cmp_op
,
object
*
,
object
*
));
static
object
*
cmp_outcome
PROTO
((
int
,
object
*
,
object
*
));
static
int
import_from
PROTO
((
object
*
,
object
*
,
object
*
));
static
object
*
build_class
PROTO
((
object
*
,
object
*
));
...
...
@@ -928,7 +928,7 @@ eval_code(co, globals, locals, arg)
case
COMPARE_OP
:
w
=
POP
();
v
=
POP
();
x
=
cmp_outcome
(
(
enum
cmp_op
)
oparg
,
v
,
w
);
x
=
cmp_outcome
(
oparg
,
v
,
w
);
DECREF
(
v
);
DECREF
(
w
);
PUSH
(
x
);
...
...
@@ -1892,7 +1892,7 @@ cmp_member(v, w)
static
object
*
cmp_outcome
(
op
,
v
,
w
)
enum
cmp_op
op
;
int
op
;
register
object
*
v
;
register
object
*
w
;
{
...
...
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