Python stub: how to annotate properly a function that uses CPython PySequence_Check?
I have a function implemented in C that is exposed to python (c extension) that accepts a sequence. Its signature looks something like this:
I have a function implemented in C that is exposed to python (c extension) that accepts a sequence. Its signature looks something like this: