MCPcopy Index your code
hub / github.com/RustPython/RustPython / _get_main_thread_ident

Function _get_main_thread_ident

Lib/_dummy_thread.py:121–123  ·  view source on GitHub ↗

Dummy implementation of _thread._get_main_thread_ident().

()

Source from the content-addressed store, hash-verified

119
120
121def _get_main_thread_ident():
122 """Dummy implementation of _thread._get_main_thread_ident()."""
123 return _MAIN_THREAD_IDENT
124
125
126def _is_main_interpreter():

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected