Skip to content

yehonatanz/dictmatching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dictmatching

image

image

image

Maintainability

Unpacking dicts is now easier than ever:

from dictmatching import unpack

d1 = dict(a=1, b=2)
d2 = dict(x=3, y=4)
with unpack(d1) as b, unpack(d2) as (x, y):
    assert b == 2
    assert x == 3
    assert y == 4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages