Forward port benchmark for type checking
commit8b14980008b0e9bb426e409496f9085521c8a90c
authorMats Wichmann <mats@linux.com>
Sat, 25 May 2024 15:48:55 +0000 (25 09:48 -0600)
committerMats Wichmann <mats@linux.com>
Sat, 25 May 2024 15:48:55 +0000 (25 09:48 -0600)
tree9b41479886ae423434da6c0865015c9b58a32e53
parent6edc6fc54bc3f6fbfb7d5b3400720bd2785dbab5
Forward port benchmark for type checking

is_types.py had not been modernized.  Remove any reference to the
unicode builtin, which will never be present on Py3; stop using
types.InstanceType which was only for old-style classes and never
exists on Py3.

Signed-off-by: Mats Wichmann <mats@linux.com>
bench/is_types.py