Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ __format__
Method
__format__
IPython/core/prompts.py:20–21 ·
view source on GitHub ↗
(self, format_spec)
Source
from the content-addressed store, hash-verified
18
return
str(self())
19
20
def
__format__(self, format_spec):
21
return
format(self(), format_spec)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected