mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
METH_NOARGS functions need only a single argument but they are cast into a PyCFunction, which takes two arguments. This triggers an invalid function cast warning in gcc8 due to the argument mismatch. Fix this by adding a dummy unused argument. |
||
|---|---|---|
| .. | ||
| cache.c | ||
| cache.h | ||
| connection.c | ||
| connection.h | ||
| cursor.c | ||
| cursor.h | ||
| microprotocols.c | ||
| microprotocols.h | ||
| module.c | ||
| module.h | ||
| prepare_protocol.c | ||
| prepare_protocol.h | ||
| row.c | ||
| row.h | ||
| statement.c | ||
| statement.h | ||
| util.c | ||
| util.h | ||