Python Cheatsheets
[BASIC]
[JAVASCRIPT]
Finds conditional expressions of the form '... if ... else ...' where the classes of the sub-expressions differ
[BASIC]
[PYTHON]
Finds expressions that refer to an object in the builtins module (like int or None).
[BASIC]
[PYTHON]
Finds the first statement in a block consisting of nothing but Pass statements
[BASIC]
[PYTHON]
Finds `==` equality expressions that form a statement
[BASIC]
[PYTHON]
Generates use-definition pairs that provide the data for find-references in the code viewer.
[BASIC]
[PYTHON]
Finds places where we handle MyExceptionClass exceptions
[BASIC]
[PYTHON]
Finds 'if' statements where the 'then' branch consists entirely of Pass statements
[BASIC]
[PYTHON]
Generates use-definition pairs that provide the data for jump-to-definition in the code viewer.
[BASIC]
[PYTHON]
Outputs a representation of a file's Abstract Syntax Tree. This query is used by the VS Code extension.
[BASIC]
[PYTHON]
Find accesses to 'private' attributes (those starting with an underscore)
[BASIC]
[PYTHON]
Finds places where we raise AnException or one of its subclasses
[BASIC]
[PYTHON]
Finds places where `None` is used as an index when storing to a collection
[BASIC]
[PYTHON]
Finds `String conversions` expressions (expressions enclosed in backticks), which are removed in Python 3