From 42ada346cdb5eb75deb325bc495cf431bea87d01 Mon Sep 17 00:00:00 2001 From: Erez Sh Date: Wed, 19 Aug 2020 15:23:20 +0300 Subject: [PATCH] Corrected docstring --- lark/tree_matcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lark/tree_matcher.py b/lark/tree_matcher.py index 38ac87f..b9306c4 100644 --- a/lark/tree_matcher.py +++ b/lark/tree_matcher.py @@ -139,9 +139,9 @@ class TreeMatcher: def match_tree(self, tree, rulename): """Match the elements of `tree` to the symbols of rule `rulename`. - Args: + Parameters: tree (Tree): the tree node to match - rulename ([type]): [description] + rulename (str): The expected full rule name (including template args) Returns: Tree: an unreduced tree that matches `rulename`