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

added colon at end of if statement - bip-0119.mediawiki #1484

Merged
merged 1 commit into from
Apr 23, 2024
Merged

added colon at end of if statement - bip-0119.mediawiki #1484

merged 1 commit into from
Apr 23, 2024

Commits on Aug 15, 2023

  1. added colon at end of if statement - bip-0119.mediawiki

    Python requires a colon at the end of an if statement to denote the beginning of the block of code that will be executed if the condition is True. If the colon is omitted, a syntax error will occur, and the code will not run. Since the syntax error will prevent the code from running, it won't introduce any vulnerabilities by itself. However, it will cause the application to fail at the point where the code is parsed, which might expose other issues if error handling is not implemented properly.
    git-sgmoore authored Aug 15, 2023
    Configuration menu
    Copy the full SHA
    2f1e2bc View commit details
    Browse the repository at this point in the history