dschep / dschep/ntfy

Support python3.11

Open
#257 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

In python3.11 `inspect.getargspec` removed at last (after deprecation in 3.0).
Proposed fix:
```python
try:
from inspect import getargspec
except ImportError:
from inspect import getfullargspec
def getargspec(f):
return tuple(getfullargspec(f))[:4]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.