MCPcopy Create free account
hub / github.com/bpython/bpython / ps1

Method ps1

bpython/repl.py:537–542  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

535
536 @property
537 def ps1(self) -> str:
538 if hasattr(sys, "ps1"):
539 # noop in most cases, but at least vscode injects a non-str ps1
540 # see #1041
541 return str(sys.ps1)
542 return ">>> "
543
544 @property
545 def ps2(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected