python-syntax-context

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

(python-syntax-context TYPE &optional SYNTAX-PPSS)

This function has a compiler macro `python-syntax--context-compiler-macro'.

Return non-nil if point is on TYPE using SYNTAX-PPSS.
TYPE can be `comment', `string' or `paren'. It returns the start
character address of the specified TYPE.