This commit is contained in:
blueloveTH 2023-12-04 18:11:45 +08:00
parent f6942e0caf
commit ec0290ab39
2 changed files with 5 additions and 2 deletions

View File

@ -256,8 +256,10 @@ def help(obj):
print(obj.__signature__) print(obj.__signature__)
print(obj.__doc__) print(obj.__doc__)
class Exception: pass class Exception: pass
class classmethod: class classmethod:
def __init__(self, f): def __init__(self, f):
self.f = f self.f = f

View File

@ -98,3 +98,4 @@ except Exception as e:
assert repr(e).startswith('KeyError(') assert repr(e).startswith('KeyError(')
except: except:
exit(1) exit(1)