summaryrefslogtreecommitdiff
path: root/json/tests/draft7/maximum.json
diff options
context:
space:
mode:
authorAlex Hofsteede <alex@hofsteede.com>2017-11-30 18:06:04 +1300
committeralex-hofsteede <alex@hofsteede.com>2017-11-30 18:13:43 +1300
commitcc1c0692f89c08c08f3c32c3d6be727a1330cee7 (patch)
treecb35da5dff5f7ba1e6a2a3dd2bc4004e6b3c9a2c /json/tests/draft7/maximum.json
parent99ca400f1d3bcd517b53d597ea463d0b4032ac41 (diff)
downloadjsonschema-cc1c0692f89c08c08f3c32c3d6be727a1330cee7.tar.gz
perf: Make is_type faster and cleaner
Instead of flattening to find out `is_number`, we can just check `issubclass(int, pytypes)` which doesn't require flattening the types list. Only if that passes do we need to look further.
Diffstat (limited to 'json/tests/draft7/maximum.json')
0 files changed, 0 insertions, 0 deletions