Skip to content

Improve document for SyntaxWarning #123858

@bebound

Description

@bebound

Documentation

The SyntaxWarning appears only once during the pyc compilation, but I can't find this information in the documentation.

This is quite confusing for anyone trying to fix a SyntaxWarning. I noticed other warnings have descriptions like "ignored by default." Adding this information could help reduce confusion.

Related PR: #122844

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions