Closed Letsch22 closed 4 years ago
Right now, passing a type to uuid that cannot be pattern matched results in TypeError: expected string or bytes-like object.
uuid
TypeError: expected string or bytes-like object
This fixes that by catching any potential TypeError and returning False in those cases.
TypeError
False
Right now, passing a type to
uuid
that cannot be pattern matched results inTypeError: expected string or bytes-like object
.This fixes that by catching any potential
TypeError
and returningFalse
in those cases.