diff options
author | sgmoore <git-sgmoore@users.noreply.github.com> | 2023-08-15 12:54:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 12:54:34 -0700 |
commit | 2f1e2bc4d8ea0da70b7e840875292b0a5df8228e (patch) | |
tree | 87b8e1b6e4c1d674c67f295d24ad81080f5d9f48 /bip-0115.mediawiki | |
parent | 55566a73f9ddf77b4512aca8e628650c913067bf (diff) |
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.
Diffstat (limited to 'bip-0115.mediawiki')
0 files changed, 0 insertions, 0 deletions