Function
embed
(
globals: dict[str, Any] | None = ...,
locals: dict[str, Any] | None = ...,
configure: Callable[[PythonRepl], None] | None = ...,
vi_mode: bool = ...,
history_filename: str | None = ...,
title: str | None = ...,
startup_paths: Sequence[str | Path] | None = ...,
patch_stdout: bool = ...,
patch_stdout_raw: bool = ...,
return_asyncio_coroutine: Literal[False] = ...,
)
Source from the content-addressed store, hash-verified
| 517 | |
| 518 | @overload |
| 519 | def embed( |
| 520 | globals: dict[str, Any] | None = ..., |
| 521 | locals: dict[str, Any] | None = ..., |
| 522 | configure: Callable[[PythonRepl], None] | None = ..., |
| 523 | vi_mode: bool = ..., |
| 524 | history_filename: str | None = ..., |
| 525 | title: str | None = ..., |
| 526 | startup_paths: Sequence[str | Path] | None = ..., |
| 527 | patch_stdout: bool = ..., |
| 528 | patch_stdout_raw: bool = ..., |
| 529 | return_asyncio_coroutine: Literal[False] = ..., |
| 530 | ) -> None: ... |
| 531 | |
| 532 | |
| 533 | @overload |
Tested by
no test coverage detected