]> git.alsa-project.org Git - alsa-python.git/commit
Fix PyTuple_SET_ITEM() usage - no return value
authorJaroslav Kysela <perex@perex.cz>
Thu, 10 Dec 2020 15:00:50 +0000 (16:00 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 10 Dec 2020 15:03:33 +0000 (16:03 +0100)
commit5ea2f8709b4d091700750661231f8a3ddce0fc7c
tree5e441538f3982dc73880949852c401aeda4bee7d
parenta64a6cc703d08db5c223a16bf812a569534ba464
Fix PyTuple_SET_ITEM() usage - no return value

As noted in bpo-30459 (link bellow) the PyTuple_SET_ITEM() macro
has not a return value. Let's make code compatible with python 3.10.

Link: https://bugs.python.org/issue30459
BugLink: https://github.com/alsa-project/alsa-python/issues/2
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
pyalsa/alsahcontrol.c
pyalsa/alsamixer.c