Hail Mary change to how I reverse the binding chain

This seems highly unlikely, but as an experiment...
This commit is contained in:
Dave Pearson
2022-12-15 13:31:24 +00:00
parent b196d8cd2e
commit 0e89e88943

View File

@@ -1743,7 +1743,7 @@ class App(Generic[ReturnType], DOMNode):
"""
for namespace, bindings in (
reversed(self._binding_chain) if priority else self._binding_chain
list(reversed(self._binding_chain)) if priority else self._binding_chain
):
binding = bindings.keys.get(key)
if binding is not None and binding.priority == priority: