from inspect import getfullargspec as _getfullargspec
__all__ = [
'getargspec', 'raise_with_traceback', 'raise_from_none',
]
def getargspec(method):
args, varargs, keywords, defaults, _, _, _ = _getfullargspec(method)
return args, varargs, keywords, defaults
def raise_with_traceback(exc, tb):
raise exc.with_traceback(tb)
def raise_from_none(exc):
raise exc from None
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| doc | Folder | 0755 |
|
|
| CHANGES | File | 9.87 KB | 0644 |
|
| LICENSE | File | 1.49 KB | 0644 |
|
| __init__.py | File | 1.1 KB | 0644 |
|
| _common.py | File | 8.01 KB | 0644 |
|
| _constant.py | File | 5.24 KB | 0644 |
|
| _enum.py | File | 124.07 KB | 0644 |
|
| _py2.py | File | 184 B | 0644 |
|
| _py3.py | File | 406 B | 0644 |
|
| _tuple.py | File | 18.66 KB | 0644 |
|
| test.py | File | 279.05 KB | 0644 |
|
| test_v3.py | File | 77.83 KB | 0644 |
|
| test_v37.py | File | 2.78 KB | 0644 |
|