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

bpo-43705: Document that SyntaxError's offsets are 1-indexed #25153

Merged
merged 2 commits into from
Apr 2, 2021

Conversation

ammaraskar
Copy link
Member

@ammaraskar ammaraskar commented Apr 2, 2021

Changed the inline mentions of the attributes into a proper attribute list like SystemExit has.

https://bugs.python.org/issue43705

Automerge-Triggered-By: GH:gvanrossum

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tightening up the words a bit.

Doc/library/exceptions.rst Outdated Show resolved Hide resolved
Doc/library/exceptions.rst Outdated Show resolved Hide resolved
@miss-islington
Copy link
Contributor

@ammaraskar: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit b2a91e0 into python:master Apr 2, 2021
@miss-islington
Copy link
Contributor

Thanks @ammaraskar for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-25155 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Apr 2, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 2, 2021
…H-25153)

Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has.

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit b2a91e0)

Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
@bedevere-bot
Copy link

GH-25156 is a backport of this pull request to the 3.8 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.8 only security fixes label Apr 2, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 2, 2021
…H-25153)

Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has.

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit b2a91e0)

Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
miss-islington added a commit that referenced this pull request Apr 2, 2021
Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has.

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit b2a91e0)

Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
miss-islington added a commit that referenced this pull request Apr 2, 2021
Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has.

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit b2a91e0)

Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
sthagen added a commit to sthagen/python-cpython that referenced this pull request Apr 3, 2021
bpo-43705: Document that SyntaxError's offsets are 1-indexed (pythonGH-25153)
kreathon pushed a commit to kreathon/cpython that referenced this pull request May 2, 2021
…H-25153)

Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has.

Automerge-Triggered-By: GH:gvanrossum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants