]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44322: Document more SyntaxError details. (GH-26562)
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 7 Jun 2021 01:42:31 +0000 (21:42 -0400)
committerGitHub <noreply@github.com>
Mon, 7 Jun 2021 01:42:31 +0000 (21:42 -0400)
commit67dfa6f2a508c325715625fe442f2ce20270a8b3
treeb3f30c44f993a8f66790b5f2945105f2481850ce
parent0d12f245523178eb62e22f5da5a276bfc7004ac4
bpo-44322: Document more SyntaxError details. (GH-26562)

1. SyntaxError args have a tuple of other attributes.
2. Attributes are adjusted for errors in f-string field expressions.
3. Compile() can raise SyntaxErrors.
Doc/library/exceptions.rst
Misc/NEWS.d/next/Documentation/2021-06-06-14-12-00.bpo-44322.K0PHfE.rst [new file with mode: 0644]