Mercurial > cpython-lru_cache-weakref
comparison Python/Python-ast.c @ 49552:2e38ca709b1d legacy-trunk
fix compiler warning
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 19 Oct 2008 13:59:01 +0000 |
| parents | dbd54bac0b6f |
| children | 40c8c35492f1 |
comparison
equal
deleted
inserted
replaced
| 49551:dbd54bac0b6f | 49552:2e38ca709b1d |
|---|---|
| 613 | 613 |
| 614 *out = (obj == Py_True); | 614 *out = (obj == Py_True); |
| 615 return 0; | 615 return 0; |
| 616 } | 616 } |
| 617 | 617 |
| 618 static int add_ast_fields() | 618 static int add_ast_fields(void) |
| 619 { | 619 { |
| 620 PyObject *empty_tuple, *d; | 620 PyObject *empty_tuple, *d; |
| 621 if (PyType_Ready(&AST_type) < 0) | 621 if (PyType_Ready(&AST_type) < 0) |
| 622 return -1; | 622 return -1; |
| 623 d = AST_type.tp_dict; | 623 d = AST_type.tp_dict; |
