summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Lamoureux <andrew@vector35.com>2019-05-14 00:43:31 -0400
committerAndrew Lamoureux <andrew@vector35.com>2019-05-14 00:43:31 -0400
commit62cf046e921ff8917ad542bc8f6974ed4ee63bd9 (patch)
treee223d681490aa54a34896d775c6dc746d72fabc9 /python
parent5896a6acc3ac7bfb33915781263e2adf5ee62d5a (diff)
kaitai: remove type hint for python2 compatibility
Diffstat (limited to 'python')
-rw-r--r--python/examples/kaitai/kshelpers.py2
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