diff options
author | Josh Blum | 2013-06-21 19:53:20 -0700 |
---|---|---|
committer | Josh Blum | 2013-06-21 19:53:20 -0700 |
commit | b6e5debf3d0b9fddd5f274bf16bd3d5e09219639 (patch) | |
tree | 00892a861aade6de7940bd38a1f7bdabc6429bc3 /python | |
parent | 37bd56f3301795e89294c048883324b0353237ef (diff) | |
download | sandhi-b6e5debf3d0b9fddd5f274bf16bd3d5e09219639.tar.gz sandhi-b6e5debf3d0b9fddd5f274bf16bd3d5e09219639.tar.bz2 sandhi-b6e5debf3d0b9fddd5f274bf16bd3d5e09219639.zip |
gras: update submodules for type over isinstance registry
Diffstat (limited to 'python')
-rw-r--r-- | python/gras/GRAS_SBuffer.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/gras/GRAS_SBuffer.i b/python/gras/GRAS_SBuffer.i index 867d2f1..5ae910a 100644 --- a/python/gras/GRAS_SBuffer.i +++ b/python/gras/GRAS_SBuffer.i @@ -14,7 +14,7 @@ def pmc_to_sbuffer(p): return s RegisterPy2PMC( - is_py = lambda x: isinstance(x, SBuffer), + is_py = lambda x: type(x) is SBuffer, py2pmc = swig_sbuffer_to_pmc, ) |