sphinx-contrib/sphinx-lint

Detect ".::" before a code block

JelleZijlstra opened this issue · 0 comments

Screen Shot 2023-04-27 at 7 16 07 AM

https://docs.python.org/3.12/library/dis.html#opcode-POP_TOP (going to send a PR soon to fix this one)

The markup here is


   Removes the top-of-stack item.::

      STACK.pop()

Perhaps we should detect the sequence .:: before a code block and warn.