some commit
This commit is contained in:
parent
d858ff5ac0
commit
bed01bad82
@ -11,11 +11,11 @@ github: @shenjackyuanjie
|
|||||||
gitee: @shenjackyuanjie
|
gitee: @shenjackyuanjie
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from .Exp import TexturesError, LanguageError
|
|
||||||
from .delivery import Delivery
|
|
||||||
from .new_thread import new_thread
|
|
||||||
from .tools import config
|
from .tools import config
|
||||||
from .translate import Lang
|
from .translate import Lang
|
||||||
|
from .delivery import Delivery
|
||||||
|
from .new_thread import new_thread
|
||||||
|
from .Exp import TexturesError, LanguageError
|
||||||
|
|
||||||
__all__ = ['TexturesError',
|
__all__ = ['TexturesError',
|
||||||
'LanguageError',
|
'LanguageError',
|
||||||
@ -23,3 +23,4 @@ __all__ = ['TexturesError',
|
|||||||
'Delivery',
|
'Delivery',
|
||||||
'config',
|
'config',
|
||||||
'Lang']
|
'Lang']
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ import decimal
|
|||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|
||||||
from Difficult_Rocket.api
|
|
||||||
|
|
||||||
# linear_algebra
|
# linear_algebra
|
||||||
|
|
||||||
|
@ -11,18 +11,31 @@ github: @shenjackyuanjie
|
|||||||
gitee: @shenjackyuanjie
|
gitee: @shenjackyuanjie
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__all__ = ['Newton',
|
|
||||||
'Metre',
|
class Units:
|
||||||
'Second']
|
"""
|
||||||
|
base class of all units
|
||||||
|
"""
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Newton:
|
class _Newton(Units):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Metre:
|
newton = _Newton()
|
||||||
|
|
||||||
|
|
||||||
|
class _Metre(Units):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Second:
|
metre = _Metre()
|
||||||
|
|
||||||
|
|
||||||
|
class _Second(Units):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
second = _Second()
|
||||||
|
Loading…
Reference in New Issue
Block a user