python-syntax-count-quotes

python-syntax-count-quotes is a compiled Lisp function in `python.el'.

(python-syntax-count-quotes QUOTE-CHAR &optional POINT LIMIT)

Count number of quotes around point (max is 3).
QUOTE-CHAR is the quote char to count. Optional argument POINT is
the point where scan starts (defaults to current point), and LIMIT
is used to limit the scan.