Module Stmts
Import path
import semmle.python.StmtsImports
Classes
| AnnAssign | An annotated assignment statement, such as |
| Assert | An assert statement, such as |
| Assign | A statement that includes a binding (except imports) |
| AssignStmt | An assignment statement |
| AsyncFor | An asynchronous |
| AsyncWith | An asynchronous |
| AugAssign | An augmented assignment statement, such as |
| Break | A break statement |
| Case | A case statement |
| Continue | A continue statement |
| Delete | A delete statement, such as |
| ExceptGroupStmt | An except group statement (part of a |
| ExceptStmt | An except statement (part of a |
| ExceptionHandler | An exception handler such as an |
| Exec | An exec statement |
| ExprStmt | An expression statement, such as |
| For | A for statement, such as |
| Global | A global statement, such as |
| If | An if statement, such as |
| MatchStmt | A match statement |
| Nonlocal | A nonlocal statement, such as |
| Pass | A pass statement |
A print statement (Python 2 only), such as | |
| Raise | A raise statement, such as |
| Return | A return statement, such as return None |
| Stmt | A statement |
| StmtList | A list of statements |
| TemplateWrite | A plain text used in a template is wrapped in a TemplateWrite statement |
| Try | A try statement |
| While | A while statement, such as |
| With | A with statement such as |