Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect ".::" before a code block #63

Open
JelleZijlstra opened this issue Apr 27, 2023 · 0 comments
Open

Detect ".::" before a code block #63

JelleZijlstra opened this issue Apr 27, 2023 · 0 comments

Comments

@JelleZijlstra
Copy link
Contributor

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.

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this issue Apr 27, 2023
- Fix description of MAKE_CELL, which appeared to be inverted from the
  actual behavior
- Fix stray ".:" (sphinx-contrib/sphinx-lint#63)
- Fix inconsistent indentation
- Add some missing code blocks
- Slight style improvements
hauntsaninja pushed a commit to python/cpython that referenced this issue Apr 29, 2023
- Fix description of MAKE_CELL, which appeared to be inverted from the
  actual behavior
- Fix stray ".:" (sphinx-contrib/sphinx-lint#63)
- Fix inconsistent indentation
- Add some missing code blocks
- Slight style improvements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant