bundles / IPython latest / IPython / core / completer / has_open_quotes
function
IPython.core.completer:has_open_quotes
source: /IPython/core/completer.py:358
Signature
def has_open_quotes(s: str) → str | boolSummary
Return whether a string has open quotes.
Extended Summary
This simply counts whether the number of quote characters of either type in the string is odd.
Returns
: If there is an open quote, the quote character is returned. Else, return: False.
Aliases
IPython.core.completer.has_open_quotes