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
102942d6
Commit
102942d6
authored
Mar 31, 2002
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpz_float() only takes one parameter now
parent
b0c77275
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
Modules/mpzmodule.c
Modules/mpzmodule.c
+0
-5
No files found.
Modules/mpzmodule.c
View file @
102942d6
...
@@ -1477,13 +1477,8 @@ mpz_coerce(PyObject **pv, PyObject **pw)
...
@@ -1477,13 +1477,8 @@ mpz_coerce(PyObject **pv, PyObject **pw)
*
pw
=
z
;
*
pw
=
z
;
}
}
else
{
else
{
#ifdef MPZ_CONVERSIONS_AS_METHODS
if
((
z
=
mpz_float
((
mpzobject
*
)(
*
pv
),
NULL
))
==
NULL
)
return
-
1
;
#else
/* def MPZ_CONVERSIONS_AS_METHODS */
if
((
z
=
mpz_float
((
mpzobject
*
)(
*
pv
)))
==
NULL
)
if
((
z
=
mpz_float
((
mpzobject
*
)(
*
pv
)))
==
NULL
)
return
-
1
;
return
-
1
;
#endif
/* def MPZ_CONVERSIONS_AS_METHODS else */
Py_INCREF
(
*
pw
);
Py_INCREF
(
*
pw
);
*
pv
=
z
;
*
pv
=
z
;
...
...
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