From 6e3daba1ed26844171ad82fe35cf0aa218591e46 Mon Sep 17 00:00:00 2001 From: mcDandy Date: Sat, 21 Feb 2026 21:41:07 +0100 Subject: [PATCH] no longer a class method --- more_math/helper_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/more_math/helper_functions.py b/more_math/helper_functions.py index 8721d77..f114dae 100644 --- a/more_math/helper_functions.py +++ b/more_math/helper_functions.py @@ -235,7 +235,7 @@ def get_f_variable(f_dict): except Exception: return None, len(ordered_values) -def _collect_reads_only(cls, node, needed_vars, assigned_vars, shadowed_vars): +def _collect_reads_only( node, needed_vars, assigned_vars, shadowed_vars): if node is None: return @@ -260,7 +260,7 @@ def _collect_reads_only(cls, node, needed_vars, assigned_vars, shadowed_vars): for i in range(node.getChildCount()): cls._collect_reads_only(node.getChild(i), needed_vars, assigned_vars, shadowed_vars) -def _collect_vars_from_node(cls, node, needed_vars, assigned_vars, shadowed_vars): +def _collect_vars_from_node( node, needed_vars, assigned_vars, shadowed_vars): """Recursively collect variable reads from an AST node""" if node is None: return