From 751f093de94d8a81d85f80e1f1bb7041d266b5c5 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 16 Feb 2022 19:04:44 -0300 Subject: [PATCH] Removed extra "pass" statements --- kibot/mcpyrate/quotes.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kibot/mcpyrate/quotes.py b/kibot/mcpyrate/quotes.py index 504b9285..06f36bdb 100644 --- a/kibot/mcpyrate/quotes.py +++ b/kibot/mcpyrate/quotes.py @@ -43,7 +43,6 @@ def _mcpyrate_quotes_attr(attr, *, force_import=False): class QuasiquoteMarker(ASTMarker): """Base class for AST markers used by quasiquotes. Compiled away by `astify`.""" - pass class SpliceNodes(QuasiquoteMarker): """Splice a `list` of AST nodes into the surrounding context. @@ -51,7 +50,6 @@ class SpliceNodes(QuasiquoteMarker): Command sent by `ast_literal` (run-time part of `a`) to `splice_ast_literals` (run-time part of the surrounding `q`). """ - pass class QuasiquoteSearchDone(Done, QuasiquoteMarker): """Marker used by nested quasiquotes to tell the expander a subtree is already done. @@ -64,14 +62,12 @@ class QuasiquoteSearchDone(Done, QuasiquoteMarker): 2. We need to be able to eliminate these (and only these) before generating the final quoted output. """ - pass # -------------------------------------------------------------------------------- # Unquote commands for `astify`. Each type corresponds to an unquote macro. class Unquote(QuasiquoteMarker): """Interpolate the value of the given subtree into the quoted tree. Emitted by `u[]`.""" - pass class LiftSourcecode(QuasiquoteMarker): @@ -95,12 +91,10 @@ class ASTLiteral(QuasiquoteMarker): # similar to `macropy`'s `Literal`, but sup class ASTList(QuasiquoteMarker): """Interpolate the given iterable of AST nodes as an `ast.List` node. Emitted by `s[]`.""" - pass class ASTTuple(QuasiquoteMarker): """Interpolate the given iterable of AST nodes as an `ast.Tuple` node. Emitted by `t[]`.""" - pass class Capture(QuasiquoteMarker): # like `macropy`'s `Captured`