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

skip Issue : typo and grammatical changes #26316

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
typo and grammatical changes
  • Loading branch information
Hemangii committed May 23, 2021
commit 028a0779560f01e9712a8bdad3d44f26a7e0eb35
6 changes: 3 additions & 3 deletions Doc/whatsnew/3.10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ These improvements are inspired by previous work in the PyPy interpreter.
:issue:`40176`.)

:exc:`SyntaxError` exceptions raised by the interpreter will now highlight the
full error range of the expression that consistutes the syntax error itself,
full error range of the expression that constitutes the syntax error itself,
instead of just where the problem is detected. In this way, instead of displaying
(before Python 3.10):

Expand All @@ -197,7 +197,7 @@ now Python 3.10 will display the exception as:
This improvement was contributed by Pablo Galindo in :issue:`43914`.

A considerable amount of new specialized messages for :exc:`SyntaxError` exceptions
have been incorporated. Some of the most notable ones:
have been incorporated. Some of the most notable ones are as follows:

* Missing ``:`` before blocks:

Expand All @@ -219,7 +219,7 @@ have been incorporated. Some of the most notable ones:
File "<stdin>", line 1
{x,y for x,y in zip('abcd', '1234')}
^
SyntaxError: did you forget parentheses around the comprehension target?
SyntaxError: did you forget parenthesis around the comprehension target?

(Contributed by Pablo Galindo in :issue:`43017`)

Expand Down