上传文件至「week12」
This commit is contained in:
9
week12/continueanyway.py
Normal file
9
week12/continueanyway.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from sys import stderr
|
||||
|
||||
def ca(fn):
|
||||
def call(*args,**kwargs):
|
||||
try:
|
||||
fn(*args,**kwargs)
|
||||
except Exception as e:
|
||||
print(type(e).__name__,":",e,file=stderr)
|
||||
return call
|
||||
Reference in New Issue
Block a user