MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _compile

Function _compile

tools/python-3.11.9-amd64/Lib/codeop.py:84–89  ·  view source on GitHub ↗
(source, filename, symbol, incomplete_input=True)

Source from the content-addressed store, hash-verified

82 return False
83
84def _compile(source, filename, symbol, incomplete_input=True):
85 flags = 0
86 if incomplete_input:
87 flags |= PyCF_ALLOW_INCOMPLETE_INPUT
88 flags |= PyCF_DONT_IMPLY_DEDENT
89 return compile(source, filename, symbol, flags)
90
91def compile_command(source, filename="<input>", symbol="single"):
92 r"""Compile a command and determine whether it is incomplete.

Callers 1

_get_codenameMethod · 0.70

Calls 1

compileFunction · 0.70

Tested by

no test coverage detected