forked from pool/python-JsonWeb
- Add python-311.patch to support python 3.11
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-JsonWeb?expand=0&rev=12
This commit is contained in:
13
python-311.patch
Normal file
13
python-311.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: JsonWeb-0.8.2/jsonweb/decode.py
|
||||
===================================================================
|
||||
--- JsonWeb-0.8.2.orig/jsonweb/decode.py
|
||||
+++ JsonWeb-0.8.2/jsonweb/decode.py
|
||||
@@ -231,7 +231,7 @@ class ObjectHook(object):
|
||||
|
||||
|
||||
def get_arg_spec(func):
|
||||
- arg_spec = inspect.getargspec(func)
|
||||
+ arg_spec = inspect.getfullargspec(func)
|
||||
args = arg_spec.args
|
||||
|
||||
try:
|
||||
Reference in New Issue
Block a user