view mercurial/__main__.py @ 51289:7bd7fcc711f2

pytype: drop the last inline type comment We can't assign type to the "for" variant on the fly, so we type the variable and method used instead.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 20 Dec 2023 16:39:03 +0100
parents e7ef11b75fdc
children 1c5810ce737e
line wrap: on
line source

def run():
    from . import demandimport

    with demandimport.tracing.log('hg script'):
        demandimport.enable()
        from . import dispatch

        dispatch.run()


if __name__ == '__main__':
    run()