Do not use PyObject_CallNoArgs
authorTom Tromey <tromey@adacore.com>
Tue, 3 Jan 2023 14:13:01 +0000 (07:13 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 3 Jan 2023 14:13:01 +0000 (07:13 -0700)
commit5aea5eca6c873334deb41f996dec255786a6f84d
tree2b829e0745f2c485c12d7cc5f9f49ed4964eba1a
parenta8cf07d37b0063df888da82aed00babd1907ab7e
Do not use PyObject_CallNoArgs

PyObject_CallNoArgs was introduced in Python 3.9, so avoid it in favor
of PyObject_CallObject.
gdb/python/py-dap.c