MCPcopy Create free account
hub / github.com/PageBot/PageBot / _set_s

Method _set_s

Lib/pagebot/contexts/basecontext/babelstring.py:869–874  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

867 return ''.join(s)
868
869 def _set_s(self, s):
870 if self.runs:
871 style = self.runs[-1].style # Keep last style if it exists
872 else:
873 style = None
874 self.runs = [BabelRun(s, style)]
875
876 s = property(_get_s, _set_s)
877

Callers

nothing calls this directly

Calls 1

BabelRunClass · 0.85

Tested by

no test coverage detected