Running Sphinx v3.5.4
Traceback (most recent call last):
File "tools/extract_pyi.py", line 201, in convert_folder
tree = ast.parse(fragment)
File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/ast.py", line 35, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 27
def continuous_capture_start(self, buffer1: WriteableBuffer, buffer2: WriteableBuffer, /) -> None:
^
SyntaxError: invalid syntax
make: *** [stubs] Error 1
see e.g., this build: https://readthedocs.org/projects/circuitpython/builds/15185882/
This is due to syntax introduced into a comment at #5540.