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.__doc__)
class Exception: pass
class classmethod:
def __init__(self, f):
self.f = f
@ -266,4 +268,4 @@ class classmethod:
def staticmethod(f):
return f
from _long import long
from _long import long

View File

@ -97,4 +97,5 @@ except Exception as e:
assert str(e) == '2'
assert repr(e).startswith('KeyError(')
except:
exit(1)
exit(1)