MCPcopy Index your code
hub / github.com/prompt-toolkit/ptpython / get_compiler_flags

Method get_compiler_flags

src/ptpython/repl.py:377–378  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

375 locals["_"] = locals[f"_{self.current_statement_index}"] = result
376
377 def get_compiler_flags(self) -> int:
378 return super().get_compiler_flags() | PyCF_ALLOW_TOP_LEVEL_AWAIT
379
380 def _compile_with_flags(self, code: str, mode: str) -> Any:
381 "Compile code with the right compiler flags."

Callers 2

_compile_with_flagsMethod · 0.95
validateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected