Mercurial > cpython-lru_cache-weakref
comparison Python/compile.c @ 17258:a002918fc0c2 2.0
SF bug 119622: compile errors due to redundant atof decls.
Fixed in compile.c and marshal.c
Quote tim: "Python shouldn't be in the business of defining atof"
| author | Moshe Zadka <moshez@math.huji.ac.il> |
|---|---|
| date | Fri, 30 Mar 2001 16:31:50 +0000 |
| parents | 25ddd3dc7a7a |
| children | 433458651eb4 |
comparison
equal
deleted
inserted
replaced
| 17257:ee264669b678 | 17258:a002918fc0c2 |
|---|---|
| 765 } | 765 } |
| 766 | 766 |
| 767 static PyObject * | 767 static PyObject * |
| 768 parsenumber(struct compiling *co, char *s) | 768 parsenumber(struct compiling *co, char *s) |
| 769 { | 769 { |
| 770 extern double atof(const char *); | |
| 771 char *end; | 770 char *end; |
| 772 long x; | 771 long x; |
| 773 double dx; | 772 double dx; |
| 774 #ifndef WITHOUT_COMPLEX | 773 #ifndef WITHOUT_COMPLEX |
| 775 Py_complex c; | 774 Py_complex c; |
