Skip to content

Commit

Permalink
Merge pull request #1877 from bosh/redundant_ast
Browse files Browse the repository at this point in the history
simplify placeholder manager ast integration
  • Loading branch information
avanwinkle authored Feb 13, 2025
2 parents d1552a5 + ca0a4d5 commit f9c7cab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mpf/core/placeholder_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,6 @@ def __init__(self, machine):
ast.IfExp: self._eval_if,
ast.Tuple: self._eval_tuple,
}
if hasattr(ast, "Constant"):
self._eval_methods[ast.Constant] = self._eval_constant

def _eval_tuple(self, node, variables, subscribe):
return tuple([self._eval(x, variables, subscribe) for x in node.elts])
Expand Down

0 comments on commit f9c7cab

Please sign in to comment.