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

Method get_spstr

IPython/utils/text.py:51–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 l = list = property(get_list)
50
51 def get_spstr(self):
52 try:
53 return self.__spstr
54 except AttributeError:
55 self.__spstr = self.replace('\n',' ')
56 return self.__spstr
57
58 s = spstr = property(get_spstr)
59

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected