Skip to content

Commit

Permalink
chore: hax
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Aug 6, 2024
1 parent ef94ec1 commit 9f4cfc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions koerce/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -1226,6 +1226,7 @@ class Capture(Pattern):
what: Pattern

def __init__(self, k: str | Deferred | Builder, what=_any):
key: str
if isinstance(k, (Deferred, Builder)):
k = builder(k)
if isinstance(k, Variable):
Expand Down

0 comments on commit 9f4cfc5

Please sign in to comment.