qkitgroup / qkit

Qkit framework
GNU General Public License v2.0
43 stars 46 forks source link

Replaces removed `inspect.getargspec()` with modern `inspect.signature()`. #118

Closed thilokru closed 3 months ago

thilokru commented 4 months ago

In Python 3.11, inspect.getargspec() has been removed after being deprecated since version 3.0. This change replaces it with the more modern inspect.signature() method, which provides more granular access to method signatures, including type hints.

This shouldn't change anything, but make qkit more compatible with newer python version.