예제 #1
0
 def NotConvertable(klass, typename):
   return ValueErrorType.occur('not convertable to %s' % typename)
예제 #2
0
 def NotUnpackable(klass, obj):
   if klass.is_ignored(obj): return None
   return ValueErrorType.occur('tuple cannot be unpacked: %s' % obj)