public upgrade py

This commit is contained in:
LINxiansheng
2021-12-20 21:06:47 +08:00
committed by LINxiansheng
parent 056c5a28b4
commit fe44cd94cf
32 changed files with 31243 additions and 2 deletions

8
tools/upgrade/my_error.py Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
class MyError(Exception):
def __init__(self, value):
self.value = value
def __str__(self):
return repr(self.value)