def __getitem__(self, key):
        key = key.lower()
        try:
            return BASE_DATA_TYPES_REVERSE[key]
        except __HOLE__:
            import re
            m = re.search(r'^\s*(?:var)?char\s*\(\s*(\d+)\s*\)\s*$', key)
            if m:
                return ('CharField', {'maxlength': int(m.group(1))})
            raise KeyError
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/db/backends/sqlite3/introspection.py/FlexibleFieldLookupDict.__getitem__