Skip to content

Commit ce655f2

Browse files
committed
still debugging
1 parent e544b10 commit ce655f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpythonic/typecheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def iscollection(statictype, runtimetype):
301301
try: # DEBUG
302302
return isinstance(value, T) # T is a concrete class, so delegate.
303303
except TypeError:
304-
raise(TypeError(str(T)))
304+
raise(TypeError("{}, {}, {}".format(type(T), str(T), repr(T))))
305305

306306
# TODO: Add an `issubtype` function. It's needed to fully resolve callable types in `isoftype`.
307307
#

0 commit comments

Comments
 (0)