MCPcopy Index your code
hub / github.com/python/cpython / main

Function main

Lib/profiling/sampling/cli.py:809–817  ·  view source on GitHub ↗

Main entry point for the CLI.

()

Source from the content-addressed store, hash-verified

807
808
809def main():
810 """Main entry point for the CLI."""
811 # Set locale for number formatting, restore on exit
812 old_locale = locale.setlocale(locale.LC_ALL, None)
813 locale.setlocale(locale.LC_ALL, "")
814 try:
815 _main()
816 finally:
817 locale.setlocale(locale.LC_ALL, old_locale)
818
819
820def _main():

Calls 1

_mainFunction · 0.70

Used in the wild real call sites across dependent graphs

searching dependent graphs…