hyb
2025-12-30 5e753a15ff53faab2261a53367e44d38caf87041
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Ë
@ñúhãó>—ddlZddlmZGd„dee«Zdddœd„Zy)    éNé)ÚAutocommandErrorcó —eZdZy)ÚAutomainRequiresModuleErrorN)Ú__name__Ú
__module__Ú __qualname__©óúZH:\Change_password\venv_build\Lib\site-packages\setuptools/_vendor/autocommand/automain.pyrrs„Ør rr
)ÚargsÚkwargscób‡‡—t|«r t|«‚|dk(s|dur ‰€iŠˆˆfd„}|Sd„S)a­
    This decorator automatically invokes a function if the module is being run
    as the "__main__" module. Optionally, provide args or kwargs with which to
    call the function. If `module` is "__main__", the function is called, and
    the program is `sys.exit`ed with the return value. You can also pass `True`
    to cause the function to be called unconditionally. If the function is not
    called, it is returned unchanged by the decorator.
 
    Usage:
 
    @automain(__name__)  # Pass __name__ to check __name__=="__main__"
    def main():
        ...
 
    If __name__ is "__main__" here, the main function is called, and then
    sys.exit called with the return value.
    Ú__main__Tcó<•—tj|‰i‰¤Ž«y©N)ÚsysÚexit)Úmainr rs €€r Úautomain_decoratorz$automain.<locals>.automain_decorator6sø€Ü H‰H‘T˜4Ð* 6Ñ*Õ +r có—|Srr
)rs r ú<lambda>zautomain.<locals>.<lambda>;s€˜D€r )Úcallabler)Úmoduler rrs `` r ÚautomainrsCù€ô(ÔÜ)¨&Ó1Ð1à Ò˜v¨™~Ø ˆ>؈Fõ    ,ð"Ð!á Ð r )rÚerrorsrÚ    TypeErrorrrr
r r ú<module>rs(ðó$ Ý$ô    Ð"2°Iô    ð ¨õ!!r