MCPcopy Create free account
hub / github.com/ipython/ipython / _indent_current_str

Method _indent_current_str

IPython/core/interactiveshell.py:2129–2131  ·  view source on GitHub ↗

return the current level of indentation as a string

(self)

Source from the content-addressed store, hash-verified

2127 self.rl_next_input = s
2128
2129 def _indent_current_str(self):
2130 """return the current level of indentation as a string"""
2131 return self.input_splitter.get_indent_spaces() * ' '
2132
2133 #-------------------------------------------------------------------------
2134 # Things related to text completion

Callers

nothing calls this directly

Calls 1

get_indent_spacesMethod · 0.80

Tested by

no test coverage detected