Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prompt-toolkit/ptpython
/ get_current_value
Method
get_current_value
src/ptpython/python_input.py:579–580 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
577
"Create Simple on/of option."
578
579
def
get_current_value() -> str:
580
return
values[bool(getattr(self, field_name))]
581
582
def
get_values() -> dict[str, Callable[[], bool]]:
583
return
{
Callers
2
get_text_fragments
Function · 0.80
activate_next
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected