mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
f6942e0caf
commit
ec0290ab39
@ -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
|
||||
|
@ -97,4 +97,5 @@ except Exception as e:
|
||||
assert str(e) == '2'
|
||||
assert repr(e).startswith('KeyError(')
|
||||
except:
|
||||
exit(1)
|
||||
exit(1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user