On Fri, Sep 18, 2020, 8:17 AM Ricky Teachey <ricky@teachey.org> wrote:
Why not just grow a parse method on str that returns a dict and do it this
way?
q = "{a} {b}"
p = "1 2"
(a, b) = q.parse(p)
Sorry that should have been:
(a, b) = q.parse(p).values()