diff options
| author | Andrew Lamoureux <andrew@vector35.com> | 2019-05-14 00:43:31 -0400 |
|---|---|---|
| committer | Andrew Lamoureux <andrew@vector35.com> | 2019-05-14 00:43:31 -0400 |
| commit | 62cf046e921ff8917ad542bc8f6974ed4ee63bd9 (patch) | |
| tree | e223d681490aa54a34896d775c6dc746d72fabc9 /python | |
| parent | 5896a6acc3ac7bfb33915781263e2adf5ee62d5a (diff) | |
kaitai: remove type hint for python2 compatibility
Diffstat (limited to 'python')
| -rw-r--r-- | python/examples/kaitai/kshelpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/kaitai/kshelpers.py b/python/examples/kaitai/kshelpers.py index 2d465346..40a6320e 100644 --- a/python/examples/kaitai/kshelpers.py +++ b/python/examples/kaitai/kshelpers.py @@ -223,7 +223,7 @@ def exercise(ksobj): # * the debug['arr'] stuff, you just give it 'foo' or 'foo[3]' # * the 'foo' vs. '_m_foo' complication, you just give it 'foo' # -def getFieldRange(ksobj, fieldName:str, restrictedToRoot=False): +def getFieldRange(ksobj, fieldName, restrictedToRoot=False): if restrictedToRoot: if ksobj._io != ksobj._root._io: return None |
