Files
typeshed/stdlib/3
Lukasz Langa 2058ae30ab Proper singledispatch type definitions
Correctly detects calls to `register()` with a function of incompatible return
type.  Correctly recognizes the `register()`, `dispatch()`, and
`_clear_cache()` methods on a generic function, as well as the `registry`
mapping.

Possible future improvements: it would be amazing if `register()` checked if
the first argument of the registered callable is indeed of valid type. This
would require Callable[] to support varargs.  It would also be great if we
could read the arguments of the remaining arguments during `@singledispatch()`
and cross-check them during `register()` with the currently registered
implementation. Again, this would require Callable[] to become much more
advanced.
2016-12-19 12:54:08 -08:00
..
2016-04-11 00:27:58 -04:00
2016-12-13 12:03:03 -08:00
2016-06-02 10:16:01 -07:00
2016-04-11 00:27:58 -04:00
2016-05-05 11:32:06 +01:00
2016-04-11 00:27:58 -04:00
2016-04-11 00:27:58 -04:00
2016-05-04 16:54:57 -07:00
2016-12-13 14:55:06 -08:00
2016-08-17 11:54:13 -07:00
2016-03-23 08:30:39 +01:00
2016-03-06 09:25:49 +09:00
2016-05-17 14:32:03 +01:00
2016-05-19 14:34:38 -07:00
2016-04-11 00:27:58 -04:00
2016-10-12 07:34:58 -07:00
2016-07-05 10:18:58 -07:00
2016-05-03 11:48:38 -07:00
2016-08-24 06:08:46 -07:00
2016-07-26 07:43:29 -07:00
2016-04-11 00:27:58 -04:00
2016-02-25 09:41:32 +00:00
2015-12-30 21:59:56 +01:00
2016-09-12 11:13:42 -07:00
2016-04-17 19:59:47 -07:00
2016-12-13 11:40:18 -08:00
2016-05-04 16:54:57 -07:00
2016-03-06 10:03:55 +09:00