bundles / IPython 9.5.0 / IPython / core / inputtransformer2 / TransformerManager / check_complete
function
IPython.core.inputtransformer2:TransformerManager.check_complete
Signature
def check_complete ( self , cell : str ) Summary
Return whether a block of code is ready to execute, or should be continued
Parameters
cell: stringPython input code, which can be multiline.
Returns
status: strOne of 'complete', 'incomplete', or 'invalid' if source is not a prefix of valid code.
indent_spaces: int or NoneThe number of spaces by which to indent the next line of code. If status is not 'incomplete', this is None.
Aliases
-
IPython.core.inputtransformer2.TransformerManager.check_complete