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
01458c7a
Commit
01458c7a
authored
Oct 18, 2009
by
Mark Dickinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the uses of WITHOUT_COMPLEX introduced in r75471
parent
ba1e0f46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
Python/compile.c
Python/compile.c
+0
-2
Python/formatter_unicode.c
Python/formatter_unicode.c
+0
-2
No files found.
Python/compile.c
View file @
01458c7a
...
...
@@ -911,7 +911,6 @@ compiler_add_o(struct compiler *c, PyObject *dict, PyObject *o)
else
t
=
PyTuple_Pack
(
2
,
o
,
o
->
ob_type
);
}
#ifndef WITHOUT_COMPLEX
else
if
(
PyComplex_Check
(
o
))
{
Py_complex
z
;
int
real_part_zero
,
imag_part_zero
;
...
...
@@ -945,7 +944,6 @@ compiler_add_o(struct compiler *c, PyObject *dict, PyObject *o)
t
=
PyTuple_Pack
(
2
,
o
,
o
->
ob_type
);
}
}
#endif
/* WITHOUT_COMPLEX */
else
{
t
=
PyTuple_Pack
(
2
,
o
,
o
->
ob_type
);
}
...
...
Python/formatter_unicode.c
View file @
01458c7a
...
...
@@ -9,8 +9,6 @@
#define FORMAT_STRING _PyUnicode_FormatAdvanced
#define FORMAT_LONG _PyLong_FormatAdvanced
#define FORMAT_FLOAT _PyFloat_FormatAdvanced
#ifndef WITHOUT_COMPLEX
#define FORMAT_COMPLEX _PyComplex_FormatAdvanced
#endif
#include "../Objects/stringlib/formatter.h"
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