-
Notifications
You must be signed in to change notification settings - Fork 18
Setter -> Traversal #32
Copy link
Copy link
Open
Description
Python's nonlocal state side effects give every setter traversal powers. You should unify them or have a utility to convert them.
I say this because using re.sub (which allows a function argument) for a traversal is turning out much harder than the lambda regex: Setter(lambda f s: re.sub(regex, f, s)) it should be.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels