oasm 0.1.6__py3-none-any.whl → 0.1.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
oasm/__init__.py CHANGED
@@ -314,6 +314,8 @@ def subs(obj, **kwargs):
314
314
  return {k:subs(v,**kwargs) for k,v in obj.items()}
315
315
  elif type(obj) is expr:
316
316
  return expr(*obj[:],**obj.__dict__,**kwargs)()
317
+ elif isinstance(obj,table):
318
+ return obj.__class__(*subs(obj[:],**kwargs),**subs(obj.__dict__,**kwargs))
317
319
  else:
318
320
  return obj
319
321
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oasm
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Open ASseMbly tools
5
5
  Author-email: nzturn <nzturn@gmail.com>
6
6
  Keywords: asm,dsl
@@ -0,0 +1,5 @@
1
+ oasm/__init__.py,sha256=2sDXVVF7QBc1VwR0TowymfmTZjb-W03CXL9bZYjAmdk,28069
2
+ oasm-0.1.7.dist-info/METADATA,sha256=DtRW39u4QnMR1gAwy6giIBjs3mQFp0JCdUlZpFCtszQ,370
3
+ oasm-0.1.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
4
+ oasm-0.1.7.dist-info/top_level.txt,sha256=EacQcwgujQK1Vg--A4w6awZ2LPUTDx7kHNRd9BsavOc,5
5
+ oasm-0.1.7.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- oasm/__init__.py,sha256=pNcORzoupqdkyxz7NeFVps_6-o3J--Dt0B6Wu6dnrMk,27952
2
- oasm-0.1.6.dist-info/METADATA,sha256=K8fBl0SXEk4nbfT-zYdA1cRFVXt73ix3QGlMtwgj51U,370
3
- oasm-0.1.6.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
4
- oasm-0.1.6.dist-info/top_level.txt,sha256=EacQcwgujQK1Vg--A4w6awZ2LPUTDx7kHNRd9BsavOc,5
5
- oasm-0.1.6.dist-info/RECORD,,
File without changes