{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / inputtransformer2 / has_sunken_brackets

function

IPython.core.inputtransformer2:has_sunken_brackets

source: /dev/ipython/IPython/core/inputtransformer2.py:681

Signature

def has_sunken_brackets(tokens: list[tokenize.TokenInfo])

Summary

Check if the depth of brackets in the list of tokens drops below 0

Aliases

  • IPython.core.inputtransformer2.has_sunken_brackets