compare_chained2 _> compare_chained_right

This commit is contained in:
rocky
2023-07-29 12:09:25 -04:00
parent 843e3585e2
commit ddeb5af6d6
11 changed files with 56 additions and 56 deletions

View File

@@ -339,7 +339,7 @@ TABLE_DIRECT = {
"compare_single": ('%p %[-1]{pattr.replace("-", " ")} %p', (0, 19), (1, 19)),
"compare_chained": ("%p %p", (0, 29), (1, 30)),
"compared_chained_middle": ('%[3]{pattr.replace("-", " ")} %p %p', (0, 19), (-2, 19)),
"compare_chained2": ('%[1]{pattr.replace("-", " ")} %p', (0, 19)),
"compare_chained_right": ('%[1]{pattr.replace("-", " ")} %p', (0, 19)),
# "classdef": (), # handled by n_classdef()
# A custom rule in n_function def distinguishes whether to call this or
# function_def_async