MCPcopy Index your code
hub / github.com/prompt-toolkit/ptpython / validate

Method validate

src/ptpython/ipython.py:72–74  ·  view source on GitHub ↗
(self, document: Document)

Source from the content-addressed store, hash-verified

70 self.isp = TransformerManager()
71
72 def validate(self, document: Document) -> None:
73 document = Document(text=self.isp.transform_cell(document.text))
74 super().validate(document)
75
76
77def create_ipython_grammar():

Callers 1

_Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected